Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001441/0.001441, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001702/0.001702, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.3131/0.3131, allocations: 34.26 MB / 296 MB, free: 0.7773 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001764/0.0001781, allocations: 2.312 kB / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002682/0.00286, allocations: 1.715 MB / 379.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.0041, allocations: 0.9858 MB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.479e-05/0.004195, allocations: 0 / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.004507, allocations: 75.59 kB / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.004865, allocations: 111.6 kB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.005068, allocations: 67.62 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.00527, allocations: 115.5 kB / 381.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.005321, allocations: 4.234 kB / 381.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.878e-05/0.00542, allocations: 59.81 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.005515, allocations: 43.83 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.005532, allocations: 4 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.005633, allocations: 43.91 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.005701, allocations: 11.94 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.005754, allocations: 19.92 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.005955, allocations: 87.72 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.005959, allocations: 4 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.005961, allocations: 0 / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.005966, allocations: 0 / 381.4 MB, free: 15.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005905/0.006557, allocations: 439.9 kB / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.006602, allocations: 8.031 kB / 381.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.006666, allocations: 20.78 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.00686, allocations: 153.1 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.006882, allocations: 384 / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.006895, allocations: 8.359 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.007038, allocations: 58.95 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.00705, allocations: 3.938 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.007061, allocations: 0 / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.007073, allocations: 3.984 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.007105, allocations: 4 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.007267, allocations: 140.7 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.007375, allocations: 51.05 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.007404, allocations: 19.67 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.007417, allocations: 3.984 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.007526, allocations: 69.05 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.007528, allocations: 0 / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002077/0.007735, allocations: 89.47 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.007772, allocations: 55.39 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.007916, allocations: 230.4 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.007929, allocations: 25.7 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.007987, allocations: 154.9 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.008023, allocations: 11.84 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.008058, allocations: 31.36 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.008204, allocations: 0.4962 MB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.008234, allocations: 8 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-05/0.008272, allocations: 31.36 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.691e-05/0.008329, allocations: 39.56 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008331, allocations: 0 / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001006/0.008432, allocations: 69.64 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.008451, allocations: 9.875 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.008458, allocations: 7.875 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.008474, allocations: 0 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.008564, allocations: 16.02 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.00857, allocations: 0 / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.008608, allocations: 15.89 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.008614, allocations: 4 kB / 383.7 MB, free: 13.08 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.607e-05/0.0087, allocations: 156 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.008718, allocations: 11.95 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.008879, allocations: 90.86 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.008885, allocations: 7.984 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.008891, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.008896, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.009023, allocations: 144.6 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.009025, allocations: 4 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.009059, allocations: 4 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.009062, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.009072, allocations: 4 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.009078, allocations: 7.922 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.009079, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.009199, allocations: 120.5 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.009215, allocations: 7.953 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.009234, allocations: 4 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.899e-05/0.009263, allocations: 11.86 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.009306, allocations: 8 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.00932, allocations: 0 / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.359e-05/0.009414, allocations: 176.1 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009414, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.009587, allocations: 15.94 kB / 384.4 MB, free: 12.25 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.0009369/0.01052, allocations: 377.3 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.01066, allocations: 35.67 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.01066, allocations: 4 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.508e-05/0.01069, allocations: 23.61 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.01091, allocations: 36.8 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.0113, allocations: 198.1 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.01134, allocations: 71.34 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.721e-05/0.01138, allocations: 12.48 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.01141, allocations: 12.5 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01141, allocations: 0 / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of Templates: time 0.003833/0.01524, allocations: 1.639 MB / 386.8 MB, free: 9.961 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.2267172678839415]