Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001771/0.001771, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.002102/0.002102, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.628/1.628, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2615/0.2615, allocations: 44.9 MB / 359.6 MB, free: 6.277 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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",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.002269/0.002269, allocations: 63.91 kB / 0.4939 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3533, allocations: 65.47 MB / 0.5579 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00368/0.357, allocations: 1.943 MB / 0.5598 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.3593, allocations: 1.155 MB / 0.5609 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.3595, allocations: 3.938 kB / 0.5609 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006153/0.3601, allocations: 251.4 kB / 0.5611 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005753/0.3607, allocations: 239.1 kB / 0.5614 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.361, allocations: 115.7 kB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.3614, allocations: 283.2 kB / 0.5617 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.3616, allocations: 15.8 kB / 0.5618 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.3618, allocations: 147.4 kB / 0.5619 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.3621, allocations: 211.4 kB / 0.5621 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.3621, allocations: 8 kB / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.3623, allocations: 59.98 kB / 0.5622 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.3624, allocations: 75.62 kB / 0.5622 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3625, allocations: 99.17 kB / 0.5623 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.3629, allocations: 250.8 kB / 0.5626 GB, free: 2.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3629, allocations: 0 / 0.5626 GB, free: 2.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3629, allocations: 0 / 0.5626 GB, free: 2.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3629, allocations: 0 / 0.5626 GB, free: 2.902 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008293/0.3637, allocations: 0.5274 MB / 0.5631 GB, free: 2.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3638, allocations: 8.031 kB / 0.5631 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.736e-05/0.3638, allocations: 8.125 kB / 0.5631 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.3638, allocations: 38.73 kB / 0.5631 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.3639, allocations: 32.75 kB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.3643, allocations: 232.9 kB / 0.5634 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.3643, allocations: 12.12 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.3643, allocations: 4 kB / 0.5634 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.3646, allocations: 123.2 kB / 0.5635 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3646, allocations: 0 / 0.5635 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3646, allocations: 4 kB / 0.5635 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.3646, allocations: 4 kB / 0.5635 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.3648, allocations: 39.97 kB / 0.5636 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.3654, allocations: 455.9 kB / 0.564 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.3658, allocations: 121.2 kB / 0.5641 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.366, allocations: 37.83 kB / 0.5642 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.366, allocations: 4.062 kB / 0.5642 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.3663, allocations: 125 kB / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.3663, allocations: 0 / 0.5643 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001448/0.3677, allocations: 0.5241 MB / 0.5648 GB, free: 464 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/0.3678, allocations: 85.11 kB / 0.5649 GB, free: 360 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.3683, allocations: 497.6 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.3684, allocations: 33.7 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.3685, allocations: 168.5 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/0.3686, allocations: 71.42 kB / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.3687, allocations: 41.7 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3688, allocations: 346.8 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.369, allocations: 55.98 kB / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.3691, allocations: 99.33 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.3694, allocations: 155.3 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3694, allocations: 0 / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004299/0.3699, allocations: 253.4 kB / 0.5665 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3699, allocations: 4 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3699, allocations: 0 / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3699, allocations: 4 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.37, allocations: 43.98 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3701, allocations: 7.875 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/0.3701, allocations: 7.984 kB / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.3702, allocations: 12 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001798/0.3703, allocations: 174.4 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.3704, allocations: 43.69 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005293/0.3709, allocations: 273 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3709, allocations: 4 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3709, allocations: 0 / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3709, allocations: 0 / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/0.3719, allocations: 0.7184 MB / 0.5678 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3719, allocations: 0 / 0.5678 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.239e-05/0.372, allocations: 35.92 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.372, allocations: 4 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.372, allocations: 4 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.3721, allocations: 8 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.3721, allocations: 3.938 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.3726, allocations: 435.7 kB / 0.5682 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.3726, allocations: 23.81 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.3727, allocations: 12 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3728, allocations: 7.984 kB / 0.5683 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.3729, allocations: 27.84 kB / 0.5683 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.3729, allocations: 8 kB / 0.5683 GB, free: 12.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004148/0.3733, allocations: 375.1 kB / 0.5687 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3733, allocations: 0 / 0.5687 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.3737, allocations: 51.92 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002704/0.3764, allocations: 1.373 MB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.3768, allocations: 151.7 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3768, allocations: 0 / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.377, allocations: 75.84 kB / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/0.3776, allocations: 61.33 kB / 0.5703 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.3814, allocations: 3.011 MB / 0.5733 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.3818, allocations: 0.7869 MB / 0.574 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.3819, allocations: 37.92 kB / 0.5741 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.3821, allocations: 107.4 kB / 0.5742 GB, free: 6.672 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3821, allocations: 0 / 0.5742 GB, free: 6.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.4094, allocations: 6.94 MB / 0.581 GB, free: 15.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.77, allocations: 6.25 kB / 0.581 GB, free: 15.82 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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: 15.270048159989528]