Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001417/0.001417, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001122/0.001122, allocations: 174.3 kB / 24.91 MB, free: 8.766 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.9826/0.9826, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2392/0.2392, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 323.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.681e-05, allocations: 5.125 kB / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00237/0.002397, allocations: 1.639 MB / 324.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.003125, allocations: 0.5374 MB / 325.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.003189, allocations: 0 / 325.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.00347, allocations: 79.64 kB / 325.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.003738, allocations: 107.5 kB / 325.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.003955, allocations: 87.69 kB / 325.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.004093, allocations: 83.75 kB / 325.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.004175, allocations: 19.92 kB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.652e-05/0.004241, allocations: 39.89 kB / 325.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.004329, allocations: 43.89 kB / 325.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.004343, allocations: 4 kB / 325.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.004424, allocations: 47.91 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.00447, allocations: 23.86 kB / 326 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.004491, allocations: 11.94 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.004627, allocations: 87.66 kB / 326.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.00463, allocations: 0 / 326.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004631, allocations: 0 / 326.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.004635, allocations: 4 kB / 326.1 MB, free: 6.863 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003306/0.004966, allocations: 317.5 kB / 326.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.004998, allocations: 8.031 kB / 326.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.005026, allocations: 12.94 kB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.005151, allocations: 137.6 kB / 326.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.00516, allocations: 8.312 kB / 326.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.00518, allocations: 384 / 326.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.005275, allocations: 66.86 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.005284, allocations: 4.188 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.005292, allocations: 4.125 kB / 326.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.005296, allocations: 0 / 326.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.005317, allocations: 15.98 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.00553, allocations: 167.7 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.092e-05/0.005581, allocations: 34.5 kB / 326.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.005594, allocations: 4.859 kB / 326.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.005608, allocations: 4 kB / 326.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.005626, allocations: 34.5 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005627, allocations: 0 / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000413/0.00604, allocations: 153.9 kB / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.006076, allocations: 55.41 kB / 327.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.006204, allocations: 174.1 kB / 327.2 MB, free: 5.559 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.006216, allocations: 29.7 kB / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.006246, allocations: 88.12 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.006272, allocations: 31.72 kB / 327.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.006312, allocations: 21.72 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.006393, allocations: 322.8 kB / 327.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.006408, allocations: 11.98 kB / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.188e-05/0.00642, allocations: 7.938 kB / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.006451, allocations: 24.84 kB / 327.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.006452, allocations: 4 kB / 327.8 MB, free: 5 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.505e-05/0.006517, allocations: 65.59 kB / 327.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.006531, allocations: 8 kB / 327.8 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006535, allocations: 0 / 327.8 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.006546, allocations: 0 / 327.8 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.006615, allocations: 15.98 kB / 327.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-06/0.006618, allocations: 3.938 kB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.006636, allocations: 4 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.006641, allocations: 3.938 kB / 327.9 MB, free: 4.895 MB / 298.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 (8): * Single equations (assignments): 8 * 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 5.648e-05/0.006697, allocations: 112.7 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.006714, allocations: 19.92 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.006822, allocations: 71.44 kB / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006824, allocations: 0 / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.006826, allocations: 0 / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006829, allocations: 4 kB / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.00705, allocations: 255.5 kB / 328.3 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.007052, allocations: 4 kB / 328.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.007087, allocations: 15.94 kB / 328.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.007089, allocations: 0 / 328.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.007093, allocations: 0 / 328.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.007096, allocations: 8.031 kB / 328.3 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.007098, allocations: 3.984 kB / 328.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.352e-05/0.007181, allocations: 160.3 kB / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.007191, allocations: 7.953 kB / 328.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.0072, allocations: 0 / 328.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.582e-05/0.007236, allocations: 7.938 kB / 328.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.007258, allocations: 3.984 kB / 328.5 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.007264, allocations: 8 kB / 328.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.985e-05/0.007304, allocations: 44.34 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007304, allocations: 0 / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001374/0.007442, allocations: 27.94 kB / 328.6 MB, free: 4.086 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001273/0.008715, allocations: 0.5594 MB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.008798, allocations: 44.7 kB / 329.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.008802, allocations: 0 / 329.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.101e-05/0.008823, allocations: 20.84 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.008985, allocations: 19.69 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.009303, allocations: 239.8 kB / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.834e-05/0.009341, allocations: 67.33 kB / 329.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.396e-05/0.009375, allocations: 12.8 kB / 329.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.009425, allocations: 63.36 kB / 329.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009426, allocations: 0 / 329.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of Templates: time 0.00305/0.01248, allocations: 1.47 MB / 331.1 MB, free: 1.859 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.973203408997506]