Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.00236/0.00236, 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.002639/0.002639, allocations: 161.7 kB / 24.26 MB, free: 176 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.577/1.577, 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.404/0.404, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 375.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.651e-05/3.892e-05, allocations: 6.25 kB / 375.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.005093/0.005132, allocations: 1.875 MB / 377.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.008159, allocations: 1.076 MB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.0083, allocations: 0 / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006468/0.008947, allocations: 167.3 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000696/0.009643, allocations: 183.2 kB / 378.7 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006111/0.01025, allocations: 115.6 kB / 378.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005446/0.0108, allocations: 259.2 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.01099, allocations: 17.91 kB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003568/0.01135, allocations: 139.6 kB / 379.2 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.01166, allocations: 127.7 kB / 379.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.01171, allocations: 11.94 kB / 379.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.01195, allocations: 63.92 kB / 379.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.0121, allocations: 55.77 kB / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.01224, allocations: 47.78 kB / 379.5 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005275/0.01276, allocations: 219.2 kB / 379.7 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.01277, allocations: 4 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.01277, allocations: 0 / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.01278, allocations: 0 / 379.7 MB, free: 0.5312 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001115/0.01389, allocations: 476.5 kB / 380.2 MB, free: 36 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/0.01396, allocations: 12.03 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.01413, allocations: 35.61 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.01463, allocations: 221.8 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.01466, allocations: 8.312 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.01471, allocations: 8.375 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.01509, allocations: 117 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.01511, allocations: 4 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.01513, allocations: 0 / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.01514, allocations: 0 / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.01535, allocations: 55.84 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008788/0.01623, allocations: 404.5 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.01681, allocations: 117.2 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.01697, allocations: 45.81 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.01701, allocations: 4 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003535/0.01736, allocations: 132.8 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.01736, allocations: 0 / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001997/0.01936, allocations: 0.5133 MB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.01946, allocations: 85.05 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006815/0.02014, allocations: 380.5 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.02019, allocations: 41.69 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.02038, allocations: 140.6 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.0205, allocations: 75.41 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.02061, allocations: 45.7 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002634/0.02087, allocations: 342.8 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.02106, allocations: 59.97 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.02129, allocations: 95.98 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.02174, allocations: 163.3 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.02174, allocations: 0 / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006765/0.02241, allocations: 253.4 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.02244, allocations: 8 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.02244, allocations: 0 / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.02247, allocations: 3.984 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.02269, allocations: 43.98 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.02271, allocations: 7.938 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.02284, allocations: 8 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.02287, allocations: 12.05 kB / 383.5 MB, free: 12.45 MB / 362.7 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.000279/0.02315, allocations: 161.7 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.541e-05/0.02324, allocations: 35.81 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008608/0.0241, allocations: 271.4 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.02411, allocations: 4 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.02412, allocations: 0 / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.02412, allocations: 0 / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.02556, allocations: 0.6722 MB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.02557, allocations: 0 / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.02571, allocations: 31.98 kB / 384.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.611e-05/0.02573, allocations: 4 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.02576, allocations: 19.86 kB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/0.02577, allocations: 4.219 kB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.02577, allocations: 4 kB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008842/0.02666, allocations: 445.8 kB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.02673, allocations: 23.92 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.0268, allocations: 12 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.02704, allocations: 11.98 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.02714, allocations: 15.97 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.02719, allocations: 12 kB / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005206/0.02771, allocations: 287 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02771, allocations: 0 / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000673/0.02838, allocations: 51.89 kB / 385.6 MB, free: 10.32 MB / 362.7 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.003694/0.03207, allocations: 0.5551 MB / 386.1 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005858/0.03266, allocations: 163.7 kB / 386.3 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.03266, allocations: 0 / 386.3 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.03293, allocations: 79.84 kB / 386.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009367/0.03387, allocations: 73.05 kB / 386.4 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.03537, allocations: 0.5138 MB / 387 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.03567, allocations: 157.5 kB / 387.1 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.03586, allocations: 41.91 kB / 387.1 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.03598, allocations: 32.48 kB / 387.2 MB, free: 8.891 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.03598, allocations: 0 / 387.2 MB, free: 8.891 MB / 362.7 MB Notification: Performance of Templates: time 0.01194/0.04792, allocations: 3.328 MB / 390.5 MB, free: 5.609 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.0763994990848005]