Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001767/0.001767, 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.002337/0.002337, allocations: 209.2 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.26/0.26, allocations: 44.94 MB / 358.8 MB, free: 6.012 MB / 286.1 MB " [Timeout remaining time 179] 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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.002081/0.002081, allocations: 63.91 kB / 0.4931 GB, free: 10.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.373, allocations: 65.47 MB / 0.557 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.0035/0.3765, allocations: 1.677 MB / 0.5587 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3782, allocations: 0.951 MB / 0.5596 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.3783, allocations: 3.938 kB / 0.5596 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.3786, allocations: 71.7 kB / 0.5597 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.379, allocations: 111.5 kB / 0.5598 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.3791, allocations: 63.75 kB / 0.5598 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3793, allocations: 111.7 kB / 0.5599 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.3793, allocations: 8.219 kB / 0.5599 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3794, allocations: 43.8 kB / 0.56 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3796, allocations: 59.75 kB / 0.56 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3796, allocations: 0 / 0.56 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.826e-05/0.3796, allocations: 31.98 kB / 0.5601 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.3797, allocations: 15.92 kB / 0.5601 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.3797, allocations: 27.8 kB / 0.5601 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.3799, allocations: 113.3 kB / 0.5602 GB, free: 4.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3799, allocations: 0 / 0.5602 GB, free: 4.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3799, allocations: 0 / 0.5602 GB, free: 4.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.38, allocations: 0 / 0.5602 GB, free: 4.176 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005269/0.3805, allocations: 341.6 kB / 0.5605 GB, free: 3.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3805, allocations: 12.03 kB / 0.5606 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.3806, allocations: 34.75 kB / 0.5606 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.3806, allocations: 12.84 kB / 0.5606 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.3808, allocations: 143.1 kB / 0.5607 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3809, allocations: 4.375 kB / 0.5607 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.3809, allocations: 7.938 kB / 0.5608 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.381, allocations: 49.61 kB / 0.5608 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.381, allocations: 0 / 0.5608 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.381, allocations: 4 kB / 0.5608 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.381, allocations: 0 / 0.5608 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.335e-05/0.3811, allocations: 15.98 kB / 0.5608 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.3813, allocations: 156.7 kB / 0.561 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.3815, allocations: 58.48 kB / 0.561 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.3816, allocations: 20.84 kB / 0.561 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3816, allocations: 0 / 0.561 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.3817, allocations: 71.33 kB / 0.5611 GB, free: 3.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.3818, allocations: 3.938 kB / 0.5611 GB, free: 3.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002997/0.3821, allocations: 97.61 kB / 0.5612 GB, free: 3.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.3821, allocations: 51.41 kB / 0.5613 GB, free: 2.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.3823, allocations: 206.3 kB / 0.5615 GB, free: 2.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3823, allocations: 25.7 kB / 0.5615 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.3824, allocations: 104.1 kB / 0.5616 GB, free: 2.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.3825, allocations: 27.75 kB / 0.5616 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.3825, allocations: 21.72 kB / 0.5616 GB, free: 2.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3827, allocations: 318.8 kB / 0.5619 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.3827, allocations: 20.23 kB / 0.5619 GB, free: 2.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.3828, allocations: 21.72 kB / 0.562 GB, free: 2.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.3829, allocations: 49.7 kB / 0.562 GB, free: 2.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.3829, allocations: 7.938 kB / 0.562 GB, free: 2.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.3831, allocations: 93.52 kB / 0.5621 GB, free: 2.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3831, allocations: 6.969 kB / 0.5621 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3831, allocations: 0 / 0.5621 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/0.3831, allocations: 4 kB / 0.5621 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.3832, allocations: 8 kB / 0.5621 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.3832, allocations: 3.984 kB / 0.5621 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.3832, allocations: 4 kB / 0.5621 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3833, allocations: 0 / 0.5621 GB, free: 2.008 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 (7): * Single equations (assignments): 7 * 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.0001178/0.3834, allocations: 133.8 kB / 0.5623 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.3834, allocations: 11.94 kB / 0.5623 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.3836, allocations: 94.77 kB / 0.5624 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3836, allocations: 0 / 0.5624 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3836, allocations: 0 / 0.5624 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3836, allocations: 0 / 0.5624 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.3838, allocations: 164.6 kB / 0.5625 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3838, allocations: 0 / 0.5625 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.3838, allocations: 4 kB / 0.5625 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3838, allocations: 0 / 0.5625 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3838, allocations: 4 kB / 0.5625 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3838, allocations: 0 / 0.5625 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3838, allocations: 4.062 kB / 0.5625 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.384, allocations: 121 kB / 0.5627 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.3841, allocations: 19.89 kB / 0.5627 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.3841, allocations: 3.938 kB / 0.5627 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.876e-05/0.3841, allocations: 4 kB / 0.5627 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.3841, allocations: 7.922 kB / 0.5627 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3842, allocations: 4 kB / 0.5627 GB, free: 1.355 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.3843, allocations: 148.2 kB / 0.5628 GB, free: 1.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3843, allocations: 0 / 0.5628 GB, free: 1.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.3845, allocations: 27.94 kB / 0.5629 GB, free: 1.184 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002013/0.3865, allocations: 0.9808 MB / 0.5638 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.3867, allocations: 39.97 kB / 0.5639 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3867, allocations: 0 / 0.5639 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.951e-05/0.3868, allocations: 23.88 kB / 0.5639 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3871, allocations: 30.84 kB / 0.5639 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3889, allocations: 1.533 MB / 0.5654 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.013e-05/0.389, allocations: 85.31 kB / 0.5655 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.3891, allocations: 12.48 kB / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.3891, allocations: 35.42 kB / 0.5655 GB, free: 14.49 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3891, allocations: 0 / 0.5655 GB, free: 14.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.4215, allocations: 3.835 MB / 0.5693 GB, free: 10.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.64, allocations: 3.984 kB / 0.5693 GB, free: 10.71 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.745462824124843]