Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001322/0.001322, allocations: 111.1 kB / 20.44 MB, free: 1.348 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.00144/0.00144, allocations: 211.2 kB / 23.72 MB, free: 4.527 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2237/0.2237, allocations: 44.95 MB / 358.8 MB, free: 6.199 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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.002164/0.002164, allocations: 71.89 kB / 0.4931 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3527, allocations: 65.47 MB / 0.557 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.00353/0.3562, allocations: 1.657 MB / 0.5586 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3581, allocations: 0.9559 MB / 0.5596 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.3581, allocations: 0 / 0.5596 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.3584, allocations: 59.75 kB / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.3588, allocations: 95.58 kB / 0.5597 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.3591, allocations: 79.67 kB / 0.5598 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.3593, allocations: 99.69 kB / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.931e-05/0.3593, allocations: 4.234 kB / 0.5599 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.834e-05/0.3594, allocations: 39.8 kB / 0.5599 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.3595, allocations: 39.77 kB / 0.56 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.3595, allocations: 4 kB / 0.56 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.3596, allocations: 32 kB / 0.56 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-05/0.3597, allocations: 31.84 kB / 0.56 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.3598, allocations: 31.73 kB / 0.5601 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.36, allocations: 121.3 kB / 0.5602 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.36, allocations: 4 kB / 0.5602 GB, free: 4.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.36, allocations: 0 / 0.5602 GB, free: 4.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.36, allocations: 0 / 0.5602 GB, free: 4.297 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.0006457/0.3607, allocations: 375.7 kB / 0.5606 GB, free: 3.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3607, allocations: 8.031 kB / 0.5606 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.3608, allocations: 34.75 kB / 0.5606 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.3608, allocations: 16.89 kB / 0.5606 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.3611, allocations: 159.2 kB / 0.5608 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3612, allocations: 4.375 kB / 0.5608 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3612, allocations: 3.938 kB / 0.5608 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.3613, allocations: 53.67 kB / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3613, allocations: 3.984 kB / 0.5608 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3614, allocations: 0 / 0.5608 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3614, allocations: 0 / 0.5608 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.142e-05/0.3614, allocations: 19.92 kB / 0.5608 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.3617, allocations: 156.8 kB / 0.561 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3618, allocations: 62.55 kB / 0.5611 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.3619, allocations: 16.86 kB / 0.5611 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.3619, allocations: 4 kB / 0.5611 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.3621, allocations: 63.38 kB / 0.5611 GB, free: 3.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3621, allocations: 3.938 kB / 0.5611 GB, free: 3.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003192/0.3624, allocations: 113.5 kB / 0.5612 GB, free: 3.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.3624, allocations: 51.41 kB / 0.5613 GB, free: 3.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.3628, allocations: 279.8 kB / 0.5616 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3628, allocations: 29.7 kB / 0.5616 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.3629, allocations: 116.1 kB / 0.5617 GB, free: 2.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.3629, allocations: 15.84 kB / 0.5617 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.3629, allocations: 17.72 kB / 0.5617 GB, free: 2.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3631, allocations: 330.8 kB / 0.562 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.3632, allocations: 12 kB / 0.5621 GB, free: 2.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.3632, allocations: 33.7 kB / 0.5621 GB, free: 2.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.3634, allocations: 49.64 kB / 0.5621 GB, free: 2.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3634, allocations: 3.938 kB / 0.5621 GB, free: 2.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000165/0.3635, allocations: 89.53 kB / 0.5622 GB, free: 2.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3635, allocations: 4 kB / 0.5622 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.3635, allocations: 3.984 kB / 0.5622 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3636, allocations: 4 kB / 0.5622 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.3636, allocations: 8 kB / 0.5622 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3636, allocations: 0 / 0.5622 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.3637, allocations: 8.266 kB / 0.5623 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3637, allocations: 0 / 0.5623 GB, free: 1.977 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.0001361/0.3638, allocations: 137.8 kB / 0.5624 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.3639, allocations: 27.92 kB / 0.5624 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.3641, allocations: 102.8 kB / 0.5625 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3641, allocations: 4 kB / 0.5625 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3641, allocations: 0 / 0.5625 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3641, allocations: 0 / 0.5625 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3643, allocations: 168.7 kB / 0.5627 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3643, allocations: 0 / 0.5627 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.3643, allocations: 7.984 kB / 0.5627 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3643, allocations: 0 / 0.5627 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.3644, allocations: 0 / 0.5627 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3644, allocations: 0 / 0.5627 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3644, allocations: 8 kB / 0.5627 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.3646, allocations: 120.9 kB / 0.5628 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.3646, allocations: 15.91 kB / 0.5628 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3646, allocations: 3.938 kB / 0.5628 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.316e-05/0.3647, allocations: 7.984 kB / 0.5628 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.3647, allocations: 4 kB / 0.5628 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.3647, allocations: 0 / 0.5628 GB, free: 1.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002041/0.3649, allocations: 204.6 kB / 0.563 GB, free: 1.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3649, allocations: 0 / 0.563 GB, free: 1.098 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.3651, allocations: 23.94 kB / 0.5631 GB, free: 1.074 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.002031/0.3672, allocations: 1.008 MB / 0.564 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.3673, allocations: 39.92 kB / 0.5641 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3673, allocations: 0 / 0.5641 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.3674, allocations: 23.98 kB / 0.5641 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.3677, allocations: 30.92 kB / 0.5641 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.3698, allocations: 1.694 MB / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.3699, allocations: 105.8 kB / 0.5659 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.322e-05/0.37, allocations: 12.75 kB / 0.5659 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.3701, allocations: 43.42 kB / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3701, allocations: 0 / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.4063, allocations: 4.167 MB / 0.57 GB, free: 10.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 4.062 kB / 0.57 GB, free: 10.05 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.634073345921934]