Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001647/0.001647, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001951/0.001951, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.781 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.2272/0.2272, allocations: 44.92 MB / 358.8 MB, free: 6.047 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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.002152/0.002152, allocations: 71.86 kB / 0.4931 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.302, allocations: 65.47 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004251/0.3062, allocations: 1.712 MB / 0.5587 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3083, allocations: 0.9676 MB / 0.5596 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3084, allocations: 0 / 0.5596 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000407/0.3088, allocations: 87.69 kB / 0.5597 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.3092, allocations: 119.5 kB / 0.5598 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.3094, allocations: 83.66 kB / 0.5599 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.3097, allocations: 107.7 kB / 0.56 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3098, allocations: 13.81 kB / 0.56 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3099, allocations: 55.78 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.31, allocations: 63.73 kB / 0.5602 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.31, allocations: 11.94 kB / 0.5602 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3102, allocations: 43.98 kB / 0.5602 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.3102, allocations: 23.91 kB / 0.5602 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.3103, allocations: 35.73 kB / 0.5603 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.3105, allocations: 115.5 kB / 0.5604 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3105, allocations: 4 kB / 0.5604 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3105, allocations: 3.938 kB / 0.5604 GB, free: 4.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.3106, allocations: 0 / 0.5604 GB, free: 4.059 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.0006276/0.3112, allocations: 361.4 kB / 0.5607 GB, free: 3.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3112, allocations: 8.031 kB / 0.5607 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.3113, allocations: 38.75 kB / 0.5608 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3113, allocations: 16.83 kB / 0.5608 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.3116, allocations: 154.3 kB / 0.5609 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3117, allocations: 4.375 kB / 0.5609 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.3117, allocations: 7.938 kB / 0.5609 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3118, allocations: 49.67 kB / 0.561 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3118, allocations: 4 kB / 0.561 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3119, allocations: 11.98 kB / 0.561 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3119, allocations: 0 / 0.561 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.3119, allocations: 23.92 kB / 0.561 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.3123, allocations: 263.9 kB / 0.5613 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3125, allocations: 54.69 kB / 0.5613 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.3126, allocations: 20.84 kB / 0.5614 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.3126, allocations: 0 / 0.5614 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.3128, allocations: 75.33 kB / 0.5614 GB, free: 2.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3128, allocations: 0 / 0.5614 GB, free: 2.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005792/0.3134, allocations: 189.3 kB / 0.5616 GB, free: 2.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.3134, allocations: 59.39 kB / 0.5617 GB, free: 2.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.3137, allocations: 227.5 kB / 0.5619 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3137, allocations: 29.69 kB / 0.5619 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.3138, allocations: 108.1 kB / 0.562 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.3138, allocations: 27.78 kB / 0.562 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.3139, allocations: 17.72 kB / 0.5621 GB, free: 2.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.314, allocations: 330.8 kB / 0.5624 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.987e-05/0.3141, allocations: 16 kB / 0.5624 GB, free: 1.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.3142, allocations: 41.7 kB / 0.5624 GB, free: 1.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3143, allocations: 65.64 kB / 0.5625 GB, free: 1.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3143, allocations: 0 / 0.5625 GB, free: 1.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.3145, allocations: 105.6 kB / 0.5626 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3146, allocations: 4 kB / 0.5626 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3146, allocations: 3.938 kB / 0.5626 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3146, allocations: 7.938 kB / 0.5626 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.3147, allocations: 16.17 kB / 0.5626 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.3147, allocations: 4.141 kB / 0.5626 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.3147, allocations: 15.91 kB / 0.5626 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.3147, allocations: 0 / 0.5626 GB, free: 1.527 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.0001252/0.3149, allocations: 133.5 kB / 0.5628 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.3149, allocations: 15.91 kB / 0.5628 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.3152, allocations: 123 kB / 0.5629 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3152, allocations: 4 kB / 0.5629 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3152, allocations: 0 / 0.5629 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3152, allocations: 3.938 kB / 0.5629 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.3157, allocations: 370.4 kB / 0.5633 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.3157, allocations: 3.984 kB / 0.5633 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.3158, allocations: 11.94 kB / 0.5633 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3158, allocations: 7.938 kB / 0.5633 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3158, allocations: 4 kB / 0.5633 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3158, allocations: 0 / 0.5633 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3158, allocations: 4 kB / 0.5633 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.3161, allocations: 216.2 kB / 0.5635 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.3161, allocations: 11.91 kB / 0.5635 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.3161, allocations: 8.312 kB / 0.5635 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.3162, allocations: 4.031 kB / 0.5635 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.3162, allocations: 7.984 kB / 0.5635 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.3162, allocations: 8 kB / 0.5635 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.3164, allocations: 173.2 kB / 0.5637 GB, free: 360 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3164, allocations: 0 / 0.5637 GB, free: 360 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.3167, allocations: 23.94 kB / 0.5637 GB, free: 336 kB / 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.002391/0.3191, allocations: 1.142 MB / 0.5648 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.3193, allocations: 67.89 kB / 0.5649 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3193, allocations: 0 / 0.5649 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.3194, allocations: 35.92 kB / 0.5649 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.3197, allocations: 30.98 kB / 0.565 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.3217, allocations: 1.724 MB / 0.5667 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.3218, allocations: 100.6 kB / 0.5667 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.285e-05/0.3219, allocations: 16.97 kB / 0.5668 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.698e-05/0.322, allocations: 35.42 kB / 0.5668 GB, free: 13.27 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.322, allocations: 4 kB / 0.5668 GB, free: 13.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.3523, allocations: 4.252 MB / 0.571 GB, free: 9.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.43, allocations: 9.656 kB / 0.571 GB, free: 9.062 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.46681064227596]