Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001311/0.001311, 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.001487/0.001487, 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.593/1.593, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2378/0.2378, allocations: 44.91 MB / 358.8 MB, free: 6.305 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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.002104/0.002104, allocations: 67.89 kB / 0.4932 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4152, allocations: 65.47 MB / 0.5571 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003542/0.4187, allocations: 1.736 MB / 0.5588 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002904/0.4216, allocations: 1.743 MB / 0.5605 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/0.4217, allocations: 0 / 0.5605 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.422, allocations: 43.7 kB / 0.5605 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.4224, allocations: 99.53 kB / 0.5606 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.4226, allocations: 79.67 kB / 0.5607 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.4229, allocations: 103.7 kB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.423, allocations: 9.828 kB / 0.5608 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.4231, allocations: 55.77 kB / 0.5609 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.4233, allocations: 51.77 kB / 0.5609 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.4233, allocations: 4 kB / 0.5609 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.4235, allocations: 103.9 kB / 0.561 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.4236, allocations: 27.84 kB / 0.561 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.4237, allocations: 31.75 kB / 0.5611 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.424, allocations: 175.4 kB / 0.5612 GB, free: 3.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.424, allocations: 0 / 0.5612 GB, free: 3.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.424, allocations: 0 / 0.5612 GB, free: 3.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.424, allocations: 0 / 0.5612 GB, free: 3.551 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.0006388/0.4246, allocations: 349.5 kB / 0.5616 GB, free: 3.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4247, allocations: 16.03 kB / 0.5616 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.4247, allocations: 34.69 kB / 0.5616 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.4248, allocations: 12.84 kB / 0.5616 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.4251, allocations: 160.3 kB / 0.5618 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4251, allocations: 7.984 kB / 0.5618 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.4251, allocations: 4 kB / 0.5618 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.4253, allocations: 67.39 kB / 0.5619 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4253, allocations: 4 kB / 0.5619 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4253, allocations: 0 / 0.5619 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.4253, allocations: 0 / 0.5619 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.131e-05/0.4254, allocations: 23.92 kB / 0.5619 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.4258, allocations: 259.9 kB / 0.5621 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.426, allocations: 50.67 kB / 0.5622 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.4261, allocations: 24.84 kB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4261, allocations: 4 kB / 0.5622 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.4262, allocations: 67.33 kB / 0.5623 GB, free: 2.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.126e-06/0.4262, allocations: 3.984 kB / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005784/0.4268, allocations: 169.4 kB / 0.5624 GB, free: 2.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.4269, allocations: 85.03 kB / 0.5625 GB, free: 2.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.4271, allocations: 174.1 kB / 0.5627 GB, free: 1.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.4271, allocations: 25.7 kB / 0.5627 GB, free: 1.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.4272, allocations: 96.14 kB / 0.5628 GB, free: 1.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.4272, allocations: 31.73 kB / 0.5628 GB, free: 1.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.4272, allocations: 21.72 kB / 0.5629 GB, free: 1.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4274, allocations: 318.8 kB / 0.5632 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/0.4275, allocations: 23.98 kB / 0.5632 GB, free: 1.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.35e-05/0.4275, allocations: 50.5 kB / 0.5632 GB, free: 1.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.4276, allocations: 65.7 kB / 0.5633 GB, free: 1.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4276, allocations: 0 / 0.5633 GB, free: 1.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001893/0.4278, allocations: 93.64 kB / 0.5634 GB, free: 1.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4279, allocations: 7.938 kB / 0.5634 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4279, allocations: 0 / 0.5634 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4279, allocations: 4.375 kB / 0.5634 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.428, allocations: 23.98 kB / 0.5634 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.428, allocations: 0 / 0.5634 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.428, allocations: 12 kB / 0.5634 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.428, allocations: 0 / 0.5634 GB, free: 1.086 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.0001141/0.4281, allocations: 124.5 kB / 0.5636 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.4282, allocations: 7.953 kB / 0.5636 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.4284, allocations: 118.2 kB / 0.5637 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.4284, allocations: 7.922 kB / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4284, allocations: 8 kB / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4284, allocations: 0 / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.4289, allocations: 366.3 kB / 0.564 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4289, allocations: 3.938 kB / 0.564 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.4289, allocations: 8 kB / 0.5641 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4289, allocations: 0 / 0.5641 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.429, allocations: 4 kB / 0.5641 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.429, allocations: 0 / 0.5641 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.429, allocations: 0 / 0.5641 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.4292, allocations: 204.3 kB / 0.5642 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.4292, allocations: 15.88 kB / 0.5643 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.4293, allocations: 4 kB / 0.5643 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.4293, allocations: 4 kB / 0.5643 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.4294, allocations: 7.984 kB / 0.5643 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.4294, allocations: 4 kB / 0.5643 GB, free: 132 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.4295, allocations: 127.2 kB / 0.5644 GB, free: 4 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4295, allocations: 0 / 0.5644 GB, free: 4 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.4298, allocations: 47.94 kB / 0.5645 GB, free: 15.95 MB / 414.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.002551/0.4324, allocations: 1.198 MB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.4326, allocations: 59.91 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4326, allocations: 0 / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.4327, allocations: 27.98 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.433, allocations: 28.41 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.435, allocations: 1.597 MB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.4354, allocations: 0.6962 MB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.031e-05/0.4355, allocations: 20.97 kB / 0.568 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/0.4356, allocations: 39.41 kB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4356, allocations: 0 / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.4707, allocations: 4.217 MB / 0.5721 GB, free: 8.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.49, allocations: 8 kB / 0.5722 GB, free: 8.172 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.63156326720491]