Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001777/0.001777, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001857/0.001857, allocations: 212.2 kB / 23.73 MB, free: 4.16 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2563/0.2563, allocations: 46.97 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.91 kB / 0.4962 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 66.03 MB / 0.5607 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003237/0.3424, allocations: 1.877 MB / 0.5625 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3444, allocations: 1.074 MB / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.519e-05/0.3444, allocations: 4 kB / 0.5636 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.3449, allocations: 227.3 kB / 0.5638 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004699/0.3454, allocations: 219.2 kB / 0.564 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.3456, allocations: 115.6 kB / 0.5641 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.346, allocations: 263.2 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3461, allocations: 15.8 kB / 0.5644 GB, free: 436 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.3463, allocations: 127.5 kB / 0.5645 GB, free: 308 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.3465, allocations: 167.5 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.3465, allocations: 8 kB / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.3467, allocations: 63.97 kB / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.3468, allocations: 71.75 kB / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.3469, allocations: 63.42 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.3472, allocations: 254.7 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3472, allocations: 0 / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3472, allocations: 0 / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3472, allocations: 0 / 0.5651 GB, free: 15.68 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.0007951/0.348, allocations: 0.5003 MB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3481, allocations: 8.031 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.3481, allocations: 38.75 kB / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.3482, allocations: 28.75 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.3486, allocations: 234.4 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3486, allocations: 8.375 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.3486, allocations: 11.94 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.3488, allocations: 111.3 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3489, allocations: 0 / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3489, allocations: 4 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3489, allocations: 4 kB / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.349, allocations: 51.89 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.3497, allocations: 436 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.3501, allocations: 125.2 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3502, allocations: 41.83 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3502, allocations: 3.984 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.3505, allocations: 128.5 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3505, allocations: 0 / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001491/0.352, allocations: 0.5286 MB / 0.5673 GB, free: 13.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.3521, allocations: 81.11 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.3526, allocations: 460.4 kB / 0.5678 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.3526, allocations: 29.7 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3528, allocations: 164.5 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-05/0.3529, allocations: 75.41 kB / 0.568 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.3529, allocations: 41.7 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3531, allocations: 346.8 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3533, allocations: 51.98 kB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.3534, allocations: 103.4 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.3538, allocations: 163.3 kB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3538, allocations: 0 / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004522/0.3542, allocations: 241.5 kB / 0.5689 GB, free: 11.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3542, allocations: 8 kB / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3542, allocations: 0 / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3542, allocations: 4.062 kB / 0.569 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.3544, allocations: 47.92 kB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3544, allocations: 4 kB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/0.3545, allocations: 11.94 kB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.3545, allocations: 8 kB / 0.569 GB, free: 11.39 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.000181/0.3547, allocations: 166.3 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.3547, allocations: 35.75 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.3553, allocations: 280.3 kB / 0.5695 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3553, allocations: 0 / 0.5695 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3553, allocations: 8 kB / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3554, allocations: 0 / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.3564, allocations: 0.7106 MB / 0.5702 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3564, allocations: 0 / 0.5702 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3565, allocations: 31.98 kB / 0.5702 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3565, allocations: 0 / 0.5702 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.3565, allocations: 8.188 kB / 0.5702 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.587e-06/0.3565, allocations: 11.92 kB / 0.5702 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.3565, allocations: 12 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/0.3571, allocations: 435.5 kB / 0.5707 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.3572, allocations: 31.77 kB / 0.5707 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.3572, allocations: 15.94 kB / 0.5707 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.3574, allocations: 11.92 kB / 0.5707 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.3574, allocations: 19.97 kB / 0.5707 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.3574, allocations: 8 kB / 0.5707 GB, free: 9.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003756/0.3578, allocations: 339 kB / 0.5711 GB, free: 9.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3578, allocations: 0 / 0.5711 GB, free: 9.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003769/0.3582, allocations: 63.86 kB / 0.5711 GB, free: 9.121 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 (24): * Single equations (assignments): 20 * 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.002898/0.3611, allocations: 1.434 MB / 0.5725 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.3615, allocations: 159.8 kB / 0.5727 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3615, allocations: 0 / 0.5727 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.3617, allocations: 80.22 kB / 0.5728 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.3623, allocations: 60.05 kB / 0.5728 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.366, allocations: 2.913 MB / 0.5757 GB, free: 4.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.3662, allocations: 170 kB / 0.5758 GB, free: 4.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.3664, allocations: 45.91 kB / 0.5759 GB, free: 4.348 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.3665, allocations: 103.4 kB / 0.576 GB, free: 4.246 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3665, allocations: 0 / 0.576 GB, free: 4.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.4026, allocations: 7.241 MB / 0.583 GB, free: 13.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.78, allocations: 3.234 kB / 0.583 GB, free: 13.07 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.874701502732933]