Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001665/0.001665, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001592/0.001592, allocations: 161 kB / 24.56 MB, free: 16 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 0.9718/0.9718, allocations: 177.1 MB / 205 MB, free: 5.598 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.2408/0.2408, allocations: 32.8 MB / 294.3 MB, free: 1.297 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.19e-05, allocations: 6.25 kB / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002508/0.002539, allocations: 1.719 MB / 377.8 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.003705, allocations: 0.989 MB / 378.8 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.017e-05/0.003776, allocations: 3.938 kB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.004066, allocations: 59.75 kB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.004382, allocations: 99.52 kB / 379 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.004571, allocations: 83.59 kB / 379.1 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.004735, allocations: 99.64 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.004776, allocations: 16.19 kB / 379.2 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.606e-05/0.004862, allocations: 55.78 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.829e-05/0.004951, allocations: 43.88 kB / 379.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.004967, allocations: 4 kB / 379.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.127e-05/0.005038, allocations: 27.94 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.005084, allocations: 19.92 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.005121, allocations: 19.94 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.005292, allocations: 83.72 kB / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.005295, allocations: 0 / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005296, allocations: 0 / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005301, allocations: 3.938 kB / 379.4 MB, free: 1.258 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004679/0.005769, allocations: 436 kB / 379.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.005805, allocations: 11.97 kB / 379.9 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.005856, allocations: 8.891 kB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.006026, allocations: 152.4 kB / 380 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.006044, allocations: 4.375 kB / 380 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.006054, allocations: 4.375 kB / 380 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.006179, allocations: 54.94 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.006187, allocations: 3.938 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.006197, allocations: 0 / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.006205, allocations: 0 / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.041e-05/0.006236, allocations: 19.92 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.006382, allocations: 140.5 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.798e-05/0.00648, allocations: 47.11 kB / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.006509, allocations: 19.69 kB / 380.3 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.006522, allocations: 4 kB / 380.3 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.006642, allocations: 68.98 kB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.006644, allocations: 0 / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000211/0.006855, allocations: 81.56 kB / 380.5 MB, free: 84 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.00689, allocations: 51.41 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.007032, allocations: 222.6 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.007047, allocations: 29.7 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.007098, allocations: 150.9 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.007127, allocations: 11.91 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.00716, allocations: 35.36 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.007274, allocations: 0.4923 MB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.007298, allocations: 4 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.00733, allocations: 35.3 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.969e-05/0.00738, allocations: 35.38 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007381, allocations: 0 / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.138e-05/0.007473, allocations: 73.58 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.007485, allocations: 4 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.007493, allocations: 8.25 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.007506, allocations: 4.031 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.007576, allocations: 11.98 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.007584, allocations: 4 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.272e-05/0.007617, allocations: 7.953 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.007624, allocations: 3.938 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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.427e-05/0.007708, allocations: 160.6 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.007727, allocations: 11.95 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.007872, allocations: 86.7 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.007875, allocations: 3.984 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.007879, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.007882, allocations: 8 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.007987, allocations: 140.6 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.007988, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.008013, allocations: 8 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.008016, allocations: 0 / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.008023, allocations: 0 / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.008026, allocations: 3.938 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.008029, allocations: 3.984 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.008143, allocations: 124.3 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.008159, allocations: 11.89 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.008177, allocations: 0 / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.723e-05/0.008204, allocations: 7.938 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.00824, allocations: 7.984 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.008254, allocations: 4 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.574e-05/0.00833, allocations: 159.9 kB / 382.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00833, allocations: 0 / 382.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000162/0.008492, allocations: 23.98 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (6): * Single equations (assignments): 4 * 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.000923/0.009415, allocations: 375.6 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.009545, allocations: 43.61 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.009548, allocations: 0 / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.009582, allocations: 19.69 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.009793, allocations: 32.58 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.01016, allocations: 198.2 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.0102, allocations: 63.34 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.745e-05/0.01023, allocations: 20.36 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.01027, allocations: 16.5 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01027, allocations: 0 / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of Templates: time 0.003869/0.01413, allocations: 1.77 MB / 384.9 MB, free: 11.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.136891041882336]