Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001321/0.001321, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001409/0.001409, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.229/0.229, allocations: 46.95 MB / 361.7 MB, free: 4.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 59.91 kB / 0.497 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3366, allocations: 66.04 MB / 0.5615 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003557/0.3401, allocations: 1.94 MB / 0.5634 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.3421, allocations: 1.147 MB / 0.5645 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.112e-05/0.3422, allocations: 7.938 kB / 0.5645 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004879/0.3426, allocations: 259.3 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.3431, allocations: 235.2 kB / 0.565 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.3434, allocations: 119.6 kB / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.3437, allocations: 267.3 kB / 0.5654 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3439, allocations: 23.77 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.3441, allocations: 143.4 kB / 0.5655 GB, free: 324 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.3443, allocations: 207.4 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.3444, allocations: 8 kB / 0.5657 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.3445, allocations: 71.91 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3446, allocations: 63.83 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.3447, allocations: 99.22 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.3451, allocations: 254.7 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3451, allocations: 4 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3451, allocations: 0 / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3451, allocations: 4 kB / 0.5662 GB, free: 15.61 MB / 414.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.0007817/0.3459, allocations: 0.5157 MB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3459, allocations: 12.03 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.161e-05/0.3459, allocations: 4.188 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.346, allocations: 34.75 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.346, allocations: 36.75 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.3464, allocations: 236.8 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3464, allocations: 12.12 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.3465, allocations: 8 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.3467, allocations: 114 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3467, allocations: 4 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3467, allocations: 0 / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3467, allocations: 0 / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.3469, allocations: 55.89 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.3474, allocations: 447.9 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.3478, allocations: 121.1 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.3479, allocations: 41.83 kB / 0.5678 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3479, allocations: 4 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.3482, allocations: 128.8 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.3482, allocations: 3.938 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001379/0.3496, allocations: 0.5209 MB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.3496, allocations: 81.11 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/0.3502, allocations: 0.4937 MB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3502, allocations: 29.7 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3504, allocations: 168.5 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.3504, allocations: 71.44 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.3505, allocations: 41.7 kB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3507, allocations: 354.8 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3508, allocations: 55.97 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.351, allocations: 87.34 kB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.3513, allocations: 171.4 kB / 0.5699 GB, free: 11.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3513, allocations: 0 / 0.5699 GB, free: 11.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004316/0.3517, allocations: 237.2 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3517, allocations: 8 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3517, allocations: 0 / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3517, allocations: 4 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.3519, allocations: 43.91 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.3519, allocations: 4 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.463e-05/0.352, allocations: 12.06 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.352, allocations: 4 kB / 0.5702 GB, free: 11.25 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.0001916/0.3522, allocations: 182.2 kB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.3523, allocations: 39.7 kB / 0.5704 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005496/0.3528, allocations: 264.9 kB / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3528, allocations: 4 kB / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3528, allocations: 0 / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3528, allocations: 3.984 kB / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009875/0.3538, allocations: 0.7184 MB / 0.5714 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3538, allocations: 4 kB / 0.5714 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.484e-05/0.3539, allocations: 27.98 kB / 0.5714 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3539, allocations: 192 / 0.5714 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.3539, allocations: 16.11 kB / 0.5714 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.3539, allocations: 15.88 kB / 0.5714 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.3539, allocations: 11.92 kB / 0.5715 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.3545, allocations: 419.2 kB / 0.5719 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.3545, allocations: 31.8 kB / 0.5719 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.3545, allocations: 8 kB / 0.5719 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3547, allocations: 11.94 kB / 0.5719 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.3547, allocations: 23.84 kB / 0.5719 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.3548, allocations: 15.98 kB / 0.5719 GB, free: 9.363 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004008/0.3552, allocations: 375.1 kB / 0.5723 GB, free: 8.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3552, allocations: 4 kB / 0.5723 GB, free: 8.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.3556, allocations: 43.94 kB / 0.5723 GB, free: 8.949 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.002853/0.3584, allocations: 1.359 MB / 0.5737 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.3588, allocations: 159.6 kB / 0.5738 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3588, allocations: 0 / 0.5738 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.359, allocations: 64.23 kB / 0.5739 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.3595, allocations: 75.3 kB / 0.574 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.3638, allocations: 3.009 MB / 0.5769 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.3643, allocations: 0.7831 MB / 0.5777 GB, free: 3.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.3644, allocations: 49.89 kB / 0.5777 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.3646, allocations: 103.4 kB / 0.5778 GB, free: 3.395 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3646, allocations: 0 / 0.5778 GB, free: 3.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3925, allocations: 6.927 MB / 0.5846 GB, free: 12.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.12, allocations: 9.5 kB / 0.5846 GB, free: 12.55 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.335970357002225]