Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.0009073/0.0009073, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.000952/0.000952, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8798/0.8798, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1314/0.1314, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.008e-05, allocations: 5.516 kB / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002096/0.002117, allocations: 1.754 MB / 409.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.003561, allocations: 1.54 MB / 411.5 MB, free: 9.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.904e-05/0.00364, allocations: 4 kB / 411.5 MB, free: 9.621 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.003946, allocations: 63.56 kB / 411.5 MB, free: 9.559 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.00421, allocations: 91.47 kB / 411.6 MB, free: 9.469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.004469, allocations: 139.6 kB / 411.8 MB, free: 9.332 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.004668, allocations: 191.3 kB / 411.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.00471, allocations: 9.75 kB / 412 MB, free: 9.137 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.004823, allocations: 95.73 kB / 412.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.00494, allocations: 59.8 kB / 412.1 MB, free: 8.984 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.004962, allocations: 8 kB / 412.1 MB, free: 8.977 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.005071, allocations: 67.91 kB / 412.2 MB, free: 8.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.005129, allocations: 31.84 kB / 412.2 MB, free: 8.879 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.005178, allocations: 39.78 kB / 412.3 MB, free: 8.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.005404, allocations: 171.4 kB / 412.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005407, allocations: 4 kB / 412.4 MB, free: 8.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005408, allocations: 4 kB / 412.4 MB, free: 8.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.005411, allocations: 0 / 412.4 MB, free: 8.664 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004737/0.005885, allocations: 393.2 kB / 412.8 MB, free: 8.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.005918, allocations: 8.031 kB / 412.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.005966, allocations: 16.84 kB / 412.8 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.006187, allocations: 197.1 kB / 413 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.006201, allocations: 4.375 kB / 413 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.006211, allocations: 384 / 413 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.006383, allocations: 149 kB / 413.2 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.006393, allocations: 7.938 kB / 413.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.006409, allocations: 0 / 413.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.006413, allocations: 0 / 413.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.789e-05/0.006481, allocations: 39.91 kB / 413.2 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.00663, allocations: 146.2 kB / 413.4 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.006792, allocations: 117.1 kB / 413.5 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.006845, allocations: 37.7 kB / 413.5 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.006858, allocations: 0 / 413.5 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.006997, allocations: 121 kB / 413.6 MB, free: 7.293 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 7.12e-07/0.006997, allocations: 0 / 413.6 MB, free: 7.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002814/0.007279, allocations: 173.4 kB / 413.8 MB, free: 7.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.007333, allocations: 144.4 kB / 414 MB, free: 6.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.007496, allocations: 223.8 kB / 414.2 MB, free: 6.707 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.007509, allocations: 25.7 kB / 414.2 MB, free: 6.676 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.007554, allocations: 112.1 kB / 414.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.007585, allocations: 31.78 kB / 414.3 MB, free: 6.531 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.00762, allocations: 25.72 kB / 414.4 MB, free: 6.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.007703, allocations: 334.8 kB / 414.7 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.007749, allocations: 27.98 kB / 414.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.007826, allocations: 124.5 kB / 414.8 MB, free: 5.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.007931, allocations: 95.39 kB / 414.9 MB, free: 5.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007933, allocations: 0 / 414.9 MB, free: 5.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001508/0.008083, allocations: 142.1 kB / 415.1 MB, free: 5.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.008096, allocations: 6.656 kB / 415.1 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.008101, allocations: 3.938 kB / 415.1 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.008113, allocations: 4 kB / 415.1 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.008183, allocations: 23.92 kB / 415.1 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.008189, allocations: 8.062 kB / 415.1 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.008234, allocations: 19.92 kB / 415.1 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.008242, allocations: 4 kB / 415.1 MB, free: 5.668 MB / 346.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 8.14e-05/0.008323, allocations: 125.8 kB / 415.3 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.008345, allocations: 23.84 kB / 415.3 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.008538, allocations: 170.5 kB / 415.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.00854, allocations: 0 / 415.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.008543, allocations: 0 / 415.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008547, allocations: 3.984 kB / 415.5 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.008648, allocations: 157.3 kB / 415.6 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.00865, allocations: 0 / 415.6 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.008671, allocations: 11.94 kB / 415.6 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008673, allocations: 0 / 415.6 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.008683, allocations: 11.98 kB / 415.6 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.008685, allocations: 3.938 kB / 415.6 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.008686, allocations: 0 / 415.6 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.008851, allocations: 181.8 kB / 415.8 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.008867, allocations: 15.84 kB / 415.8 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.008885, allocations: 4 kB / 415.8 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.293e-05/0.008918, allocations: 19.92 kB / 415.9 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.008951, allocations: 7.984 kB / 415.9 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.008964, allocations: 4 kB / 415.9 MB, free: 4.879 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.009064, allocations: 177.4 kB / 416 MB, free: 4.707 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009065, allocations: 0 / 416 MB, free: 4.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.009238, allocations: 35.94 kB / 416.1 MB, free: 4.672 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.0006785/0.009917, allocations: 485.9 kB / 416.5 MB, free: 4.246 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.01008, allocations: 83.84 kB / 416.6 MB, free: 4.164 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01008, allocations: 4 kB / 416.6 MB, free: 4.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.01014, allocations: 44.28 kB / 416.7 MB, free: 4.117 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.01035, allocations: 55.86 kB / 416.7 MB, free: 4.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.01074, allocations: 304.6 kB / 417 MB, free: 3.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.521e-05/0.0108, allocations: 106.4 kB / 417.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.01085, allocations: 28.42 kB / 417.2 MB, free: 3.582 MB / 346.7 MB Notification: Performance of SimCode: time 3.6e-07/0.01085, allocations: 0 / 417.2 MB, free: 3.582 MB / 346.7 MB Notification: Performance of Templates: time 0.003036/0.01389, allocations: 2.817 MB / 420 MB, free: 0.7656 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.685680937021971]