Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001762/0.001762, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001996/0.001996, allocations: 213.9 kB / 23.74 MB, free: 4.535 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.6/1.6, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.2261/0.2261, allocations: 44.92 MB / 358.8 MB, free: 6.262 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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.003201/0.003201, allocations: 63.91 kB / 0.4932 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3667, allocations: 65.47 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003257/0.3699, allocations: 1.761 MB / 0.5588 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.3717, allocations: 1.049 MB / 0.5598 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.3718, allocations: 3.938 kB / 0.5599 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.372, allocations: 51.73 kB / 0.5599 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.3723, allocations: 99.59 kB / 0.56 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.3725, allocations: 79.67 kB / 0.5601 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.3727, allocations: 139.6 kB / 0.5602 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.3728, allocations: 17.75 kB / 0.5602 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3729, allocations: 59.77 kB / 0.5603 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.3731, allocations: 55.75 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3731, allocations: 4 kB / 0.5603 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3732, allocations: 55.98 kB / 0.5604 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.3733, allocations: 31.91 kB / 0.5604 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.062e-05/0.3733, allocations: 47.61 kB / 0.5605 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.3736, allocations: 143.4 kB / 0.5606 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3736, allocations: 0 / 0.5606 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3736, allocations: 4 kB / 0.5606 GB, free: 4.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3736, allocations: 0 / 0.5606 GB, free: 4.137 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005543/0.3741, allocations: 373.4 kB / 0.561 GB, free: 3.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3742, allocations: 8.031 kB / 0.561 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.909e-05/0.3742, allocations: 30.75 kB / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.3743, allocations: 16.84 kB / 0.561 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3746, allocations: 174.2 kB / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3746, allocations: 384 / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.3746, allocations: 15.86 kB / 0.5612 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3748, allocations: 77.66 kB / 0.5613 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3748, allocations: 0 / 0.5613 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3748, allocations: 8 kB / 0.5613 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3748, allocations: 0 / 0.5613 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.3749, allocations: 43.91 kB / 0.5613 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.3753, allocations: 287.9 kB / 0.5616 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.3756, allocations: 82.61 kB / 0.5617 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.088e-05/0.3757, allocations: 36.78 kB / 0.5617 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3757, allocations: 0 / 0.5617 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.3759, allocations: 75.38 kB / 0.5618 GB, free: 2.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.3759, allocations: 0 / 0.5618 GB, free: 2.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008407/0.3767, allocations: 309.1 kB / 0.5621 GB, free: 2.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.3768, allocations: 63.34 kB / 0.5621 GB, free: 2.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.377, allocations: 194.7 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.377, allocations: 29.7 kB / 0.5623 GB, free: 2.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.3771, allocations: 108.4 kB / 0.5625 GB, free: 2.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.3771, allocations: 43.58 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.3772, allocations: 33.7 kB / 0.5625 GB, free: 1.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3773, allocations: 326.8 kB / 0.5628 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-05/0.3774, allocations: 39.98 kB / 0.5629 GB, free: 1.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3775, allocations: 60.5 kB / 0.5629 GB, free: 1.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.3777, allocations: 97.64 kB / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3777, allocations: 0 / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002772/0.378, allocations: 157.3 kB / 0.5632 GB, free: 1.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.378, allocations: 4 kB / 0.5632 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.378, allocations: 32 / 0.5632 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.378, allocations: 8 kB / 0.5632 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.3781, allocations: 27.92 kB / 0.5632 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3781, allocations: 0 / 0.5632 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.3782, allocations: 4 kB / 0.5632 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3782, allocations: 4 kB / 0.5632 GB, free: 1.25 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 (15): * Single equations (assignments): 15 * 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.0001273/0.3783, allocations: 141.7 kB / 0.5634 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.3784, allocations: 15.91 kB / 0.5634 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.3787, allocations: 175.1 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3787, allocations: 7.938 kB / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3787, allocations: 0 / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3787, allocations: 0.8438 kB / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006386/0.3794, allocations: 459.2 kB / 0.564 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3794, allocations: 0 / 0.564 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/0.3794, allocations: 19.98 kB / 0.564 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3794, allocations: 0 / 0.564 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3794, allocations: 8.062 kB / 0.564 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3794, allocations: 4 kB / 0.564 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3794, allocations: 0 / 0.564 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.3798, allocations: 261 kB / 0.5643 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.3798, allocations: 15.88 kB / 0.5643 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.3798, allocations: 8 kB / 0.5643 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.3799, allocations: 7.938 kB / 0.5643 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.3799, allocations: 11.98 kB / 0.5643 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.38, allocations: 8 kB / 0.5643 GB, free: 36 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.3801, allocations: 140.4 kB / 0.5644 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3801, allocations: 0 / 0.5644 GB, free: 15.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.3804, allocations: 43.88 kB / 0.5645 GB, free: 15.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.002479/0.3829, allocations: 1.193 MB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.3832, allocations: 103.8 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3832, allocations: 0 / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3833, allocations: 51.98 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.3836, allocations: 31.84 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.3859, allocations: 1.852 MB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.3863, allocations: 0.7162 MB / 0.5683 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.069e-05/0.3864, allocations: 25.41 kB / 0.5684 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.3865, allocations: 47.42 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3865, allocations: 3.938 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.4188, allocations: 4.268 MB / 0.5726 GB, free: 7.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.57, allocations: 10.56 kB / 0.5726 GB, free: 7.688 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.781307070050389]