Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001921/0.001921, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002431/0.002431, allocations: 165.7 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.534/1.534, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3461/0.3461, allocations: 32.79 MB / 293.9 MB, free: 1.211 MB / 266.7 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 375.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.59e-05, allocations: 2.312 kB / 375.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003926/0.003962, allocations: 1.887 MB / 377.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.006182, allocations: 1.076 MB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.006289, allocations: 4 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.006894, allocations: 247.2 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005771/0.007471, allocations: 239.1 kB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.007793, allocations: 131.5 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.008197, allocations: 279.2 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.00832, allocations: 17.95 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.008571, allocations: 163.6 kB / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.008837, allocations: 187.6 kB / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.008868, allocations: 8 kB / 379.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.009023, allocations: 67.89 kB / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.00913, allocations: 67.72 kB / 379.7 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.009215, allocations: 51.78 kB / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.009587, allocations: 251 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.009592, allocations: 0 / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.009593, allocations: 0 / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.009601, allocations: 4 kB / 380 MB, free: 216 kB / 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.0008765/0.01048, allocations: 0.5119 MB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.01051, allocations: 8.031 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.01061, allocations: 36.7 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.01102, allocations: 236.1 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.01105, allocations: 12.36 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.01108, allocations: 4.375 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.01136, allocations: 115 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.01138, allocations: 7.938 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.0114, allocations: 4 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.01141, allocations: 3.938 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.01157, allocations: 55.89 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/0.01226, allocations: 416.4 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.0127, allocations: 125.2 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.01283, allocations: 37.83 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.01285, allocations: 4 kB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.01312, allocations: 125.1 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.01312, allocations: 4 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001577/0.0147, allocations: 0.5325 MB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.01479, allocations: 96.92 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/0.01541, allocations: 0.4938 MB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.01545, allocations: 37.69 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.01563, allocations: 168.6 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.369e-05/0.01572, allocations: 71.39 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-05/0.0158, allocations: 41.7 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.01601, allocations: 346.8 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.01616, allocations: 59.97 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.01633, allocations: 95.39 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.01665, allocations: 159.4 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.01665, allocations: 0 / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004946/0.01714, allocations: 261.4 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.01716, allocations: 8 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01717, allocations: 0 / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.01719, allocations: 4 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.01735, allocations: 44.03 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.01736, allocations: 7.938 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.01745, allocations: 8 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.01747, allocations: 11.94 kB / 384.1 MB, free: 11.88 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.0004496/0.01792, allocations: 169.8 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.018, allocations: 51.75 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006212/0.01862, allocations: 280.4 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.01863, allocations: 4 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.01863, allocations: 3.938 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01864, allocations: 4 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.01976, allocations: 0.6917 MB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01976, allocations: 0 / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.01987, allocations: 31.98 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.01988, allocations: 7.938 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.0199, allocations: 8 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.0199, allocations: 240 / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.0199, allocations: 4 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.02054, allocations: 456.7 kB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.02059, allocations: 35.77 kB / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.02064, allocations: 8 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.0208, allocations: 7.984 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.02087, allocations: 19.97 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.02089, allocations: 8 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004595/0.02135, allocations: 387.1 kB / 386.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02135, allocations: 0 / 386.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004152/0.02177, allocations: 55.92 kB / 386.3 MB, free: 9.586 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.002599/0.02437, allocations: 0.5551 MB / 386.9 MB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.02481, allocations: 155.7 kB / 387 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.02481, allocations: 4 kB / 387 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.02501, allocations: 79.84 kB / 387.1 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.02565, allocations: 70 kB / 387.2 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.02685, allocations: 0.6187 MB / 387.8 MB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.02709, allocations: 185.1 kB / 388 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.0272, allocations: 37.91 kB / 388 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.02729, allocations: 32.5 kB / 388 MB, free: 8.043 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02729, allocations: 4 kB / 388 MB, free: 8.039 MB / 362.7 MB Notification: Performance of Templates: time 0.008772/0.03606, allocations: 3.35 MB / 391.4 MB, free: 4.734 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.901144250994548]