Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001319/0.001319, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001503/0.001503, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 8 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.2433/0.2433, allocations: 44.92 MB / 358.8 MB, free: 6.266 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.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",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.002022/0.002022, allocations: 63.91 kB / 0.4932 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3743, allocations: 65.47 MB / 0.5571 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003147/0.3774, allocations: 1.749 MB / 0.5588 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3793, allocations: 1.042 MB / 0.5598 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.3794, allocations: 3.938 kB / 0.5598 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.3797, allocations: 47.77 kB / 0.5599 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.38, allocations: 99.53 kB / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.3802, allocations: 75.67 kB / 0.56 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.3804, allocations: 111.7 kB / 0.5601 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.3805, allocations: 9.828 kB / 0.5601 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3806, allocations: 47.72 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.186e-05/0.3807, allocations: 31.84 kB / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3807, allocations: 4 kB / 0.5602 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.463e-05/0.3808, allocations: 39.98 kB / 0.5603 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.3809, allocations: 23.92 kB / 0.5603 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.3809, allocations: 39.73 kB / 0.5603 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.3812, allocations: 131.4 kB / 0.5604 GB, free: 4.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3812, allocations: 4 kB / 0.5605 GB, free: 4.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3812, allocations: 0 / 0.5605 GB, free: 4.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.3812, allocations: 0 / 0.5605 GB, free: 4.242 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.0005699/0.3818, allocations: 349.5 kB / 0.5608 GB, free: 3.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3818, allocations: 8.031 kB / 0.5608 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.3818, allocations: 34.75 kB / 0.5608 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.3819, allocations: 8.891 kB / 0.5608 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.3822, allocations: 166.2 kB / 0.561 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3822, allocations: 384 / 0.561 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.3822, allocations: 11.88 kB / 0.561 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3824, allocations: 53.67 kB / 0.5611 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3824, allocations: 3.984 kB / 0.5611 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3824, allocations: 0 / 0.5611 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3824, allocations: 0 / 0.5611 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.501e-05/0.3825, allocations: 19.98 kB / 0.5611 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.3829, allocations: 267.9 kB / 0.5613 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.3831, allocations: 50.62 kB / 0.5614 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.3831, allocations: 20.84 kB / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.3831, allocations: 0 / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.3833, allocations: 71.39 kB / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3833, allocations: 0 / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005275/0.3838, allocations: 181.3 kB / 0.5616 GB, free: 2.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.3839, allocations: 55.41 kB / 0.5617 GB, free: 2.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.3841, allocations: 218.6 kB / 0.5619 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3841, allocations: 29.64 kB / 0.5619 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.3842, allocations: 112.1 kB / 0.562 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.3842, allocations: 31.77 kB / 0.5621 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.3843, allocations: 21.72 kB / 0.5621 GB, free: 2.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3844, allocations: 322.8 kB / 0.5624 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.3845, allocations: 28.3 kB / 0.5624 GB, free: 2.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.3845, allocations: 37.7 kB / 0.5625 GB, free: 1.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3846, allocations: 57.7 kB / 0.5625 GB, free: 1.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3846, allocations: 8 kB / 0.5625 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.3848, allocations: 101.5 kB / 0.5626 GB, free: 1.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3849, allocations: 4 kB / 0.5626 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3849, allocations: 0 / 0.5626 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3849, allocations: 0 / 0.5626 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.385, allocations: 19.98 kB / 0.5626 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.385, allocations: 0 / 0.5626 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.385, allocations: 7.938 kB / 0.5627 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.385, allocations: 4 kB / 0.5627 GB, free: 1.773 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.0001296/0.3852, allocations: 137.8 kB / 0.5628 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.3852, allocations: 11.91 kB / 0.5628 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.3854, allocations: 115 kB / 0.5629 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3854, allocations: 4 kB / 0.5629 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3854, allocations: 0 / 0.5629 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3854, allocations: 3.938 kB / 0.5629 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.3859, allocations: 362.4 kB / 0.5633 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3859, allocations: 8.016 kB / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.3859, allocations: 11.94 kB / 0.5633 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.386, allocations: 3.938 kB / 0.5633 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.386, allocations: 8 kB / 0.5633 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.386, allocations: 0 / 0.5633 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.386, allocations: 0 / 0.5633 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.3862, allocations: 200.6 kB / 0.5635 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.3862, allocations: 15.94 kB / 0.5635 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.3863, allocations: 11.94 kB / 0.5635 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.3863, allocations: 0 / 0.5635 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.3864, allocations: 7.984 kB / 0.5635 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3864, allocations: 4 kB / 0.5635 GB, free: 0.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.3865, allocations: 156.5 kB / 0.5637 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3865, allocations: 0 / 0.5637 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3868, allocations: 31.88 kB / 0.5637 GB, free: 0.6094 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 (8): * Single equations (assignments): 6 * 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.002207/0.389, allocations: 1.105 MB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.3892, allocations: 51.92 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3892, allocations: 0 / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.3893, allocations: 35.91 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.3896, allocations: 30.23 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.3916, allocations: 1.693 MB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.392, allocations: 0.7041 MB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.745e-05/0.392, allocations: 20.88 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.3921, allocations: 39.42 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3921, allocations: 4 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.423, allocations: 3.681 MB / 0.5709 GB, free: 9.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.43, allocations: 4.062 kB / 0.5709 GB, free: 9.352 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.535995320882648]