Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001588/0.001588, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.00161/0.00161, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 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.675/1.675, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3639/0.3639, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.531e-05, allocations: 9.484 kB / 375.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003566/0.003601, allocations: 1.743 MB / 377.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.005691, allocations: 0.9743 MB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.005811, allocations: 0 / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.006154, allocations: 51.69 kB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.006567, allocations: 99.47 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.006877, allocations: 87.59 kB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.007144, allocations: 131.6 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.007251, allocations: 11.98 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.007398, allocations: 59.83 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.007525, allocations: 51.88 kB / 378.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.007553, allocations: 8 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.007712, allocations: 67.84 kB / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.007786, allocations: 27.92 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.007847, allocations: 23.91 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.00816, allocations: 155.4 kB / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.008164, allocations: 0 / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.008166, allocations: 4 kB / 378.8 MB, free: 1.383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.008171, allocations: 0 / 378.8 MB, free: 1.383 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006863/0.008857, allocations: 357.5 kB / 379.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.008894, allocations: 8.031 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.008974, allocations: 20.89 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.009329, allocations: 173.9 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.009348, allocations: 4.375 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.009377, allocations: 4.375 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.009592, allocations: 74.22 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.00961, allocations: 7.922 kB / 379.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.009622, allocations: 0 / 379.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.009626, allocations: 4 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.009777, allocations: 59.88 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.01039, allocations: 264.4 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.01076, allocations: 94.45 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.212e-05/0.01085, allocations: 36.88 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.01087, allocations: 0 / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.01106, allocations: 83.38 kB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.01106, allocations: 0 / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001067/0.01213, allocations: 325.8 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.01218, allocations: 51.41 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.01244, allocations: 219 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.01247, allocations: 25.7 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/0.01255, allocations: 104.4 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.01261, allocations: 39.66 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.01268, allocations: 33.7 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.01286, allocations: 330.8 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.755e-05/0.01296, allocations: 39.97 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.01307, allocations: 53.7 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.0133, allocations: 109.6 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.0133, allocations: 8 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003528/0.01365, allocations: 161.5 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.01367, allocations: 9.875 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01367, allocations: 0 / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.01369, allocations: 3.938 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.0138, allocations: 27.98 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01381, allocations: 0 / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.378e-05/0.01386, allocations: 4 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.01388, allocations: 4 kB / 381.5 MB, free: 14.52 MB / 362.7 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 (15): * Single equations (assignments): 15 * 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.0001445/0.01402, allocations: 141.7 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.01407, allocations: 19.91 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.01453, allocations: 202.4 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01453, allocations: 4 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.01454, allocations: 4 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01454, allocations: 0 / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007178/0.01526, allocations: 455.5 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.01527, allocations: 4 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-05/0.01536, allocations: 19.98 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.01537, allocations: 8.062 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.01538, allocations: 0 / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.01539, allocations: 4 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.01539, allocations: 3.938 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.01584, allocations: 293 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.01586, allocations: 7.953 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.0159, allocations: 11.98 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.01598, allocations: 0 / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.01605, allocations: 19.92 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.01607, allocations: 4 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.01626, allocations: 163.2 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01626, allocations: 0 / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.0166, allocations: 39.89 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002836/0.01943, allocations: 0.5448 MB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.01975, allocations: 115.5 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01975, allocations: 0 / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.01989, allocations: 56.11 kB / 383.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.02031, allocations: 35.97 kB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007432/0.02106, allocations: 294.8 kB / 383.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.0212, allocations: 102.3 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.02131, allocations: 37.44 kB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/0.02137, allocations: 24.5 kB / 384.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02137, allocations: 0 / 384.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of Templates: time 0.006635/0.02801, allocations: 2.374 MB / 386.5 MB, free: 9.703 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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: 5.057539539993741]