Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001334/0.001334, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.00264, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007168/0.0007168, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009288/0.001646, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 1.065/1.065, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1917/1.257, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.1355/0.1355, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02449/0.16, allocations: 12.29 MB / 265.9 MB, free: 7.828 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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.639e-05, allocations: 6.25 kB / 267.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003524/0.003551, allocations: 1.635 MB / 268.9 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007022/0.004253, allocations: 327.4 kB / 269.2 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.004311, allocations: 0 / 269.2 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.004568, allocations: 75.7 kB / 269.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.004726, allocations: 59.69 kB / 269.3 MB, free: 4.406 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.004981, allocations: 71.78 kB / 269.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.005157, allocations: 63.78 kB / 269.4 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.005265, allocations: 15.97 kB / 269.5 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.005391, allocations: 51.91 kB / 269.5 MB, free: 4.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.005505, allocations: 43.88 kB / 269.6 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.005525, allocations: 0 / 269.6 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.804e-05/0.005613, allocations: 27.94 kB / 269.6 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.005666, allocations: 19.92 kB / 269.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.005701, allocations: 11.94 kB / 269.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.005873, allocations: 67.7 kB / 269.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.997e-05/0.005893, allocations: 0 / 269.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005895, allocations: 0 / 269.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.005916, allocations: 0 / 269.7 MB, free: 4.039 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00055/0.006466, allocations: 312.1 kB / 270 MB, free: 3.711 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.006507, allocations: 8.031 kB / 270 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.00655, allocations: 8.922 kB / 270 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.006745, allocations: 141.5 kB / 270.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.006756, allocations: 4.375 kB / 270.1 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.006777, allocations: 4.312 kB / 270.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.0069, allocations: 54.95 kB / 270.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.006914, allocations: 8.078 kB / 270.2 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.006924, allocations: 4.125 kB / 270.2 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.00693, allocations: 0 / 270.2 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.863e-05/0.006959, allocations: 4 kB / 270.2 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.007228, allocations: 163.1 kB / 270.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.007397, allocations: 30.64 kB / 270.4 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.007415, allocations: 8.938 kB / 270.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.007435, allocations: 7.938 kB / 270.4 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.007459, allocations: 30.56 kB / 270.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.00746, allocations: 0 / 270.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003057/0.007765, allocations: 81.7 kB / 270.5 MB, free: 3.086 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.007802, allocations: 55.41 kB / 270.6 MB, free: 3.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.007928, allocations: 168.1 kB / 270.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.00794, allocations: 29.7 kB / 270.8 MB, free: 2.805 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.007982, allocations: 100 kB / 270.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.008001, allocations: 7.906 kB / 270.9 MB, free: 2.695 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.008034, allocations: 17.7 kB / 270.9 MB, free: 2.672 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.008135, allocations: 322.8 kB / 271.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.008152, allocations: 12.05 kB / 271.2 MB, free: 2.336 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.008165, allocations: 4 kB / 271.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.008204, allocations: 20.83 kB / 271.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.008205, allocations: 0 / 271.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.565e-05/0.008281, allocations: 53.66 kB / 271.3 MB, free: 2.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.008294, allocations: 4 kB / 271.3 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.0083, allocations: 7.984 kB / 271.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.008309, allocations: 0 / 271.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.008366, allocations: 12 kB / 271.3 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.008369, allocations: 0 / 271.3 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.008394, allocations: 7.984 kB / 271.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.008403, allocations: 7.984 kB / 271.3 MB, free: 2.211 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.541e-05/0.008468, allocations: 108.7 kB / 271.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.008496, allocations: 7.938 kB / 271.5 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.008597, allocations: 66.08 kB / 271.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.008599, allocations: 3.938 kB / 271.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.008601, allocations: 4 kB / 271.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.008605, allocations: 0 / 271.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.008846, allocations: 215.1 kB / 271.7 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.00885, allocations: 7.938 kB / 271.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.008893, allocations: 15.92 kB / 271.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.008905, allocations: 7.953 kB / 271.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.008907, allocations: 0 / 271.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.008911, allocations: 0 / 271.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.008912, allocations: 0 / 271.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.008913, allocations: 0 / 271.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.009014, allocations: 147.5 kB / 271.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.009028, allocations: 7.984 kB / 271.9 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.517e-05/0.009083, allocations: 0 / 271.9 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.009115, allocations: 4 kB / 271.9 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.009119, allocations: 0 / 271.9 MB, free: 1.574 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.526e-05/0.009174, allocations: 47.64 kB / 272 MB, free: 1.523 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.009174, allocations: 0 / 272 MB, free: 1.523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.009397, allocations: 15.94 kB / 272 MB, free: 1.508 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001634/0.01103, allocations: 0.5427 MB / 272.5 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.01115, allocations: 28.83 kB / 272.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.01116, allocations: 4 kB / 272.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.01118, allocations: 12.86 kB / 272.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.01146, allocations: 23.92 kB / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.01207, allocations: 198 kB / 272.8 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.447e-05/0.01213, allocations: 63.34 kB / 272.9 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.514e-05/0.01217, allocations: 8.25 kB / 272.9 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.01224, allocations: 59.36 kB / 272.9 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01224, allocations: 0 / 272.9 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of Templates: time 0.003898/0.01614, allocations: 1.248 MB / 274.2 MB, free: 15.26 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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: 2.8758736979216337]