Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001459/0.001459, 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.001537/0.001537, 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.511/1.511, 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.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.3295/0.3295, allocations: 34.25 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.4e-05, allocations: 5.688 kB / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003525/0.003559, allocations: 1.793 MB / 379.2 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.00667, allocations: 1.758 MB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.006747, allocations: 0 / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.007048, allocations: 59.56 kB / 381 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000476/0.007524, allocations: 139.3 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.00781, allocations: 115.5 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.008118, allocations: 207.2 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.008165, allocations: 9.812 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.008351, allocations: 107.7 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.008546, allocations: 71.8 kB / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.008603, allocations: 8 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.008819, allocations: 107.8 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.008901, allocations: 43.77 kB / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.008971, allocations: 35.86 kB / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.009353, allocations: 235.2 kB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.00936, allocations: 3.984 kB / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.009361, allocations: 0 / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.009366, allocations: 0 / 382 MB, free: 14.19 MB / 362.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.000746/0.01011, allocations: 421 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.01015, allocations: 12.03 kB / 382.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.01023, allocations: 24.83 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.01062, allocations: 185.5 kB / 382.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.01064, allocations: 4.375 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.01065, allocations: 384 / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.01093, allocations: 161 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.01094, allocations: 3.938 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.01096, allocations: 0 / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.01096, allocations: 0 / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.01109, allocations: 39.91 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.01135, allocations: 166.1 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.01187, allocations: 101.2 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.01199, allocations: 41.64 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.01201, allocations: 7.984 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.01226, allocations: 109.1 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.01226, allocations: 0 / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005522/0.01281, allocations: 181.4 kB / 383.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.01292, allocations: 136.5 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.01325, allocations: 244.1 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.01329, allocations: 33.7 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.01339, allocations: 124 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.01344, allocations: 19.86 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.0135, allocations: 33.7 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.01369, allocations: 330.8 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.987e-05/0.01379, allocations: 31.97 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.01397, allocations: 124.5 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.01419, allocations: 95.84 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01419, allocations: 3.938 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003434/0.01453, allocations: 149.5 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.01455, allocations: 6.031 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01455, allocations: 3.938 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.01457, allocations: 4.094 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.0147, allocations: 31.92 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.01471, allocations: 7.984 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.165e-05/0.01481, allocations: 7.938 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.01482, allocations: 4 kB / 384.8 MB, free: 11.12 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_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 0.00014/0.01496, allocations: 129.8 kB / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.01502, allocations: 27.86 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.01543, allocations: 166.7 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.01543, allocations: 3.984 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01544, allocations: 4 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01544, allocations: 0 / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.01565, allocations: 161.2 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01565, allocations: 256 / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.0157, allocations: 23.92 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01571, allocations: 0 / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01572, allocations: 8 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.01573, allocations: 3.938 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01573, allocations: 0 / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.01612, allocations: 189.7 kB / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.01616, allocations: 19.91 kB / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.0162, allocations: 7.984 kB / 385.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.076e-05/0.01629, allocations: 11.94 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.01635, allocations: 11.92 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.01637, allocations: 7.984 kB / 385.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002385/0.01661, allocations: 181.8 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01661, allocations: 0 / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.01694, allocations: 55.86 kB / 385.8 MB, free: 10.06 MB / 362.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.002328/0.01927, allocations: 0.5274 MB / 386.3 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.01958, allocations: 91.89 kB / 386.4 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01958, allocations: 0 / 386.4 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.01971, allocations: 47.91 kB / 386.5 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.02015, allocations: 73.36 kB / 386.5 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.02081, allocations: 298.3 kB / 386.8 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.02093, allocations: 111.7 kB / 386.9 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.02103, allocations: 29.47 kB / 387 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.119e-05/0.02113, allocations: 32.48 kB / 387 MB, free: 9.039 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02113, allocations: 0 / 387 MB, free: 9.039 MB / 362.7 MB Notification: Performance of Templates: time 0.008569/0.0297, allocations: 3.42 MB / 390.4 MB, free: 5.668 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.855932045029476]