Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2182/0.2182, allocations: 44.94 MB / 358.9 MB, free: 6.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 76.12 kB / 0.4931 GB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3072, allocations: 65.47 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003428/0.3106, allocations: 1.71 MB / 0.5587 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3124, allocations: 0.9666 MB / 0.5596 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.187e-05/0.3124, allocations: 3.938 kB / 0.5597 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.3128, allocations: 39.83 kB / 0.5597 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.3131, allocations: 107.5 kB / 0.5598 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.3133, allocations: 75.67 kB / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.3135, allocations: 103.7 kB / 0.56 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.3136, allocations: 5.828 kB / 0.56 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.338e-05/0.3137, allocations: 43.8 kB / 0.56 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.806e-05/0.3138, allocations: 43.7 kB / 0.5601 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3138, allocations: 4 kB / 0.5601 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-05/0.3139, allocations: 39.98 kB / 0.5601 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.3139, allocations: 19.92 kB / 0.5601 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.314, allocations: 31.8 kB / 0.5601 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.3142, allocations: 123.5 kB / 0.5603 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3142, allocations: 0 / 0.5603 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3142, allocations: 0 / 0.5603 GB, free: 4.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3142, allocations: 0 / 0.5603 GB, free: 4.191 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005562/0.3148, allocations: 349.5 kB / 0.5606 GB, free: 3.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3148, allocations: 8.031 kB / 0.5606 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.3148, allocations: 42.73 kB / 0.5606 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.3149, allocations: 12.89 kB / 0.5607 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.3151, allocations: 151 kB / 0.5608 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3152, allocations: 8.375 kB / 0.5608 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3152, allocations: 7.938 kB / 0.5608 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.3154, allocations: 53.67 kB / 0.5609 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3154, allocations: 0 / 0.5609 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3154, allocations: 0 / 0.5609 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3154, allocations: 4 kB / 0.5609 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.855e-05/0.3155, allocations: 19.92 kB / 0.5609 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.3159, allocations: 259.9 kB / 0.5611 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.316, allocations: 54.67 kB / 0.5612 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.118e-05/0.3161, allocations: 24.84 kB / 0.5612 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.3161, allocations: 4 kB / 0.5612 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.3163, allocations: 67.33 kB / 0.5613 GB, free: 3.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3163, allocations: 4 kB / 0.5613 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005873/0.3169, allocations: 181.3 kB / 0.5615 GB, free: 2.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.3169, allocations: 51.41 kB / 0.5615 GB, free: 2.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.3172, allocations: 206.2 kB / 0.5617 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3172, allocations: 25.7 kB / 0.5617 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.3173, allocations: 108.1 kB / 0.5618 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.3173, allocations: 31.78 kB / 0.5619 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.3173, allocations: 21.66 kB / 0.5619 GB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3175, allocations: 322.8 kB / 0.5622 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/0.3176, allocations: 27.92 kB / 0.5622 GB, free: 2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.3176, allocations: 37.7 kB / 0.5623 GB, free: 1.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.3178, allocations: 69.62 kB / 0.5623 GB, free: 1.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3178, allocations: 0 / 0.5623 GB, free: 1.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002028/0.318, allocations: 105.6 kB / 0.5624 GB, free: 1.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.318, allocations: 7.969 kB / 0.5624 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.318, allocations: 4.078 kB / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.318, allocations: 0 / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3181, allocations: 23.98 kB / 0.5625 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3181, allocations: 3.984 kB / 0.5625 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.3182, allocations: 4.312 kB / 0.5625 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3182, allocations: 4 kB / 0.5625 GB, free: 1.727 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.3183, allocations: 125.8 kB / 0.5626 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.3183, allocations: 15.89 kB / 0.5626 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.3186, allocations: 119 kB / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3186, allocations: 8 kB / 0.5627 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3186, allocations: 4 kB / 0.5627 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3186, allocations: 3.938 kB / 0.5627 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.3191, allocations: 366.4 kB / 0.5631 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3191, allocations: 0 / 0.5631 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.3192, allocations: 15.94 kB / 0.5631 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3192, allocations: 3.938 kB / 0.5631 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3192, allocations: 7.984 kB / 0.5631 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3192, allocations: 0 / 0.5631 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3192, allocations: 0 / 0.5631 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.3194, allocations: 220.5 kB / 0.5633 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.3195, allocations: 7.953 kB / 0.5633 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.3195, allocations: 7.938 kB / 0.5633 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.3196, allocations: 7.984 kB / 0.5633 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3196, allocations: 7.984 kB / 0.5633 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.3196, allocations: 4 kB / 0.5633 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.3198, allocations: 152.2 kB / 0.5635 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3198, allocations: 0 / 0.5635 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.32, allocations: 27.94 kB / 0.5635 GB, free: 0.5469 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002296/0.3223, allocations: 1.139 MB / 0.5646 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3225, allocations: 55.91 kB / 0.5647 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3225, allocations: 0 / 0.5647 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.3226, allocations: 36 kB / 0.5647 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.3229, allocations: 28.72 kB / 0.5647 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.3249, allocations: 1.684 MB / 0.5664 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.146e-05/0.3249, allocations: 92.17 kB / 0.5665 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.947e-05/0.325, allocations: 21.03 kB / 0.5665 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.3251, allocations: 35.42 kB / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3251, allocations: 3.938 kB / 0.5665 GB, free: 13.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.3548, allocations: 4.141 MB / 0.5706 GB, free: 9.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.63, allocations: 14.62 kB / 0.5706 GB, free: 9.449 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.603174604009837]