Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.002249/0.002249, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002646/0.002646, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.218/0.218, allocations: 44.93 MB / 359.6 MB, free: 6.051 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.002163/0.002163, allocations: 67.83 kB / 0.4939 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3415, allocations: 65.47 MB / 0.5578 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003196/0.3447, allocations: 1.707 MB / 0.5595 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3465, allocations: 0.9715 MB / 0.5604 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.3465, allocations: 4 kB / 0.5604 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.3468, allocations: 39.72 kB / 0.5605 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.3471, allocations: 91.61 kB / 0.5605 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.3473, allocations: 83.66 kB / 0.5606 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.3475, allocations: 99.69 kB / 0.5607 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.119e-05/0.3476, allocations: 9.828 kB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.352e-05/0.3477, allocations: 47.77 kB / 0.5608 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.493e-05/0.3477, allocations: 35.8 kB / 0.5608 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.3478, allocations: 4 kB / 0.5608 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-05/0.3479, allocations: 47.97 kB / 0.5609 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.3479, allocations: 19.92 kB / 0.5609 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.348, allocations: 23.81 kB / 0.5609 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.3482, allocations: 119.4 kB / 0.561 GB, free: 4.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.3482, allocations: 0 / 0.561 GB, free: 4.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3482, allocations: 0 / 0.561 GB, free: 4.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3482, allocations: 0 / 0.561 GB, free: 4.199 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.0005177/0.3487, allocations: 337.6 kB / 0.5613 GB, free: 3.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3487, allocations: 12.03 kB / 0.5613 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.108e-05/0.3487, allocations: 192 / 0.5613 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.3488, allocations: 38.75 kB / 0.5614 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.3488, allocations: 16.88 kB / 0.5614 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.3491, allocations: 140 kB / 0.5615 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3491, allocations: 8.125 kB / 0.5615 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3491, allocations: 4 kB / 0.5615 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3492, allocations: 57.61 kB / 0.5616 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3493, allocations: 0 / 0.5616 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3493, allocations: 8 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3493, allocations: 0 / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.886e-05/0.3494, allocations: 19.98 kB / 0.5616 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.3497, allocations: 259.9 kB / 0.5619 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.3499, allocations: 62.59 kB / 0.5619 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.35, allocations: 20.84 kB / 0.5619 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.35, allocations: 4 kB / 0.562 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.3501, allocations: 67.33 kB / 0.562 GB, free: 3.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3501, allocations: 0 / 0.562 GB, free: 3.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005582/0.3507, allocations: 181.3 kB / 0.5622 GB, free: 2.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.3508, allocations: 55.41 kB / 0.5622 GB, free: 2.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.3509, allocations: 186.1 kB / 0.5624 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.351, allocations: 29.69 kB / 0.5624 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.351, allocations: 96.14 kB / 0.5625 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.3511, allocations: 31.77 kB / 0.5626 GB, free: 2.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.3511, allocations: 21.72 kB / 0.5626 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3512, allocations: 326.8 kB / 0.5629 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.22e-05/0.3513, allocations: 19.98 kB / 0.5629 GB, free: 2.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.3514, allocations: 37.64 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.3515, allocations: 61.7 kB / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.3515, allocations: 4 kB / 0.563 GB, free: 1.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002005/0.3517, allocations: 105.5 kB / 0.5631 GB, free: 1.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3517, allocations: 7.984 kB / 0.5631 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3517, allocations: 0 / 0.5631 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3517, allocations: 4 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.3518, allocations: 12 kB / 0.5631 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3518, allocations: 3.938 kB / 0.5631 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.3519, allocations: 7.984 kB / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3519, allocations: 4.375 kB / 0.5632 GB, free: 1.785 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 9.97e-05/0.352, allocations: 125.8 kB / 0.5633 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.352, allocations: 11.95 kB / 0.5633 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.3523, allocations: 122.3 kB / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3523, allocations: 0 / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3523, allocations: 7.938 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3523, allocations: 3.984 kB / 0.5634 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.3528, allocations: 358.4 kB / 0.5638 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3528, allocations: 4 kB / 0.5638 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.3528, allocations: 15.98 kB / 0.5638 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.3528, allocations: 7.969 kB / 0.5638 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3529, allocations: 4.281 kB / 0.5638 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3529, allocations: 0 / 0.5638 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3529, allocations: 0 / 0.5638 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3531, allocations: 212.2 kB / 0.564 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.3531, allocations: 23.77 kB / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.3532, allocations: 4 kB / 0.564 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.3532, allocations: 4 kB / 0.564 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.3533, allocations: 3.984 kB / 0.564 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.3533, allocations: 4 kB / 0.564 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.3534, allocations: 136.1 kB / 0.5642 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3534, allocations: 0 / 0.5642 GB, free: 0.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.3537, allocations: 27.92 kB / 0.5642 GB, free: 0.6406 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 (9): * Single equations (assignments): 7 * 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.002309/0.356, allocations: 1.136 MB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.3562, allocations: 55.92 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.3562, allocations: 0 / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.816e-05/0.3563, allocations: 43.84 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.3567, allocations: 34.72 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.3586, allocations: 1.618 MB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.401e-05/0.3587, allocations: 97.38 kB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.828e-05/0.3587, allocations: 21.27 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.3588, allocations: 27.42 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3588, allocations: 4 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.383, allocations: 3.699 MB / 0.5708 GB, free: 10.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.83, allocations: 13.08 kB / 0.5708 GB, free: 10.05 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.938608546974137]