Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.0008983/0.0008983, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009714/0.0009714, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 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 0.9585/0.9585, allocations: 177.1 MB / 205.3 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] 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.1333/0.1333, allocations: 32.79 MB / 294.6 MB, free: 15.44 MB / 282.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 323.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.843e-05, allocations: 4.703 kB / 323.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.0025/0.002519, allocations: 1.962 MB / 325.3 MB, free: 0.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.003934, allocations: 1.036 MB / 326.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.004057, allocations: 7.938 kB / 326.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.004398, allocations: 39.75 kB / 326.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.004762, allocations: 103.4 kB / 326.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.005051, allocations: 107.5 kB / 326.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.005283, allocations: 147.5 kB / 326.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.005392, allocations: 26.39 kB / 326.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.005496, allocations: 67.81 kB / 326.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.009e-05/0.005586, allocations: 47.81 kB / 326.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.005603, allocations: 12 kB / 326.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-05/0.005695, allocations: 47.92 kB / 326.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.005746, allocations: 19.92 kB / 326.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.005793, allocations: 35.84 kB / 326.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.005986, allocations: 123.5 kB / 327.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.005988, allocations: 0 / 327.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005989, allocations: 0 / 327.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.005993, allocations: 0 / 327.1 MB, free: 14.93 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004403/0.006433, allocations: 385.7 kB / 327.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.00647, allocations: 15.98 kB / 327.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.006508, allocations: 16.92 kB / 327.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.00669, allocations: 166.2 kB / 327.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.00671, allocations: 12.31 kB / 327.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.006738, allocations: 4.375 kB / 327.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.006923, allocations: 134 kB / 327.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.006931, allocations: 7.875 kB / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.006943, allocations: 7.984 kB / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006948, allocations: 0 / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.07e-05/0.006989, allocations: 26.83 kB / 327.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.007347, allocations: 378.1 kB / 328.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.007545, allocations: 97.28 kB / 328.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.007573, allocations: 20.84 kB / 328.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.007588, allocations: 4 kB / 328.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.007701, allocations: 99.83 kB / 328.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.007702, allocations: 0 / 328.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001277/0.00783, allocations: 81.83 kB / 328.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.007856, allocations: 51.41 kB / 328.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.007968, allocations: 189.5 kB / 328.7 MB, free: 13.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.007987, allocations: 29.7 kB / 328.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.008036, allocations: 112 kB / 328.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.008055, allocations: 27.77 kB / 328.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.008089, allocations: 33.66 kB / 328.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.008169, allocations: 330.7 kB / 329.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.008191, allocations: 10.83 kB / 329.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/0.008226, allocations: 44.27 kB / 329.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.53e-05/0.008291, allocations: 77.78 kB / 329.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008293, allocations: 0 / 329.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.378e-05/0.008387, allocations: 92.36 kB / 329.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.008399, allocations: 4 kB / 329.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.008405, allocations: 4 kB / 329.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.008416, allocations: 128 / 329.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.008475, allocations: 23.98 kB / 329.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.008479, allocations: 4 kB / 329.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.008511, allocations: 11.94 kB / 329.5 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.008518, allocations: 8 kB / 329.5 MB, free: 12.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 6.421e-05/0.008582, allocations: 124.5 kB / 329.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.008596, allocations: 11.98 kB / 329.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.579e-05/0.008692, allocations: 83 kB / 329.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008694, allocations: 0 / 329.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.008696, allocations: 0 / 329.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.008699, allocations: 4 kB / 329.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.221e-05/0.008791, allocations: 105.8 kB / 329.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.008794, allocations: 3.938 kB / 329.9 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.008835, allocations: 8 kB / 329.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.008836, allocations: 0 / 329.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.008846, allocations: 7.984 kB / 329.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.008846, allocations: 0 / 329.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.008848, allocations: 0 / 329.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.008962, allocations: 114.7 kB / 330 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.008978, allocations: 15.84 kB / 330 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.008994, allocations: 3.984 kB / 330 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.461e-05/0.009018, allocations: 12.03 kB / 330 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.009047, allocations: 7.984 kB / 330 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.009061, allocations: 0 / 330 MB, free: 11.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.414e-05/0.009105, allocations: 55.64 kB / 330.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009105, allocations: 0 / 330.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001309/0.009236, allocations: 31.92 kB / 330.1 MB, free: 11.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001024/0.01026, allocations: 0.5166 MB / 330.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.01036, allocations: 48.78 kB / 330.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.01037, allocations: 0 / 330.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.559e-05/0.0104, allocations: 32.77 kB / 330.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.01055, allocations: 51.78 kB / 330.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.0109, allocations: 245.9 kB / 331 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.739e-05/0.01093, allocations: 67.84 kB / 331.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.603e-05/0.01098, allocations: 29.72 kB / 331.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.01107, allocations: 75.3 kB / 331.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of SimCode: time 2.445e-06/0.01107, allocations: 0 / 331.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of Templates: time 0.003905/0.01497, allocations: 2.202 MB / 333.4 MB, free: 8.555 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.088718540035188]