Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.00135/0.00135, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001506/0.001506, allocations: 165 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.9112/0.9112, allocations: 177.2 MB / 205 MB, free: 5.262 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.2486/0.2486, allocations: 32.79 MB / 294.3 MB, free: 1.219 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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.12e-07/8.12e-07, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.254e-05, allocations: 2.312 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.001761/0.001774, allocations: 1.653 MB / 377.7 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000734/0.002508, allocations: 0.5336 MB / 378.2 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.002551, allocations: 8 kB / 378.2 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.00271, allocations: 23.8 kB / 378.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.002909, allocations: 79.61 kB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.003107, allocations: 115.5 kB / 378.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.00322, allocations: 67.78 kB / 378.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.706e-05/0.003287, allocations: 7.984 kB / 378.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.003332, allocations: 35.84 kB / 378.5 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.003373, allocations: 19.98 kB / 378.6 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.003384, allocations: 3.938 kB / 378.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.371e-05/0.003438, allocations: 31.98 kB / 378.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.003471, allocations: 11.98 kB / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.003493, allocations: 15.92 kB / 378.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.003603, allocations: 67.75 kB / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.003605, allocations: 0 / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.003607, allocations: 4 kB / 378.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.297e-06/0.00361, allocations: 0 / 378.7 MB, free: 1.973 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003146/0.003925, allocations: 424 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.003954, allocations: 12.03 kB / 379.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.003988, allocations: 12.89 kB / 379.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.004095, allocations: 132.5 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.004102, allocations: 4.375 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.004118, allocations: 4.375 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.739e-05/0.004206, allocations: 50.95 kB / 379.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.004213, allocations: 192 / 379.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.004221, allocations: 8.125 kB / 379.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004226, allocations: 0 / 379.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.542e-05/0.004251, allocations: 15.92 kB / 379.3 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.004481, allocations: 271.8 kB / 379.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.004605, allocations: 43.05 kB / 379.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.004626, allocations: 15.69 kB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.00464, allocations: 3.938 kB / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.004657, allocations: 41.31 kB / 379.7 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.004658, allocations: 4 kB / 379.7 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000259/0.004917, allocations: 97.56 kB / 379.8 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.004942, allocations: 59.34 kB / 379.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/0.005038, allocations: 205.5 kB / 380.1 MB, free: 444 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.005046, allocations: 25.7 kB / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.005095, allocations: 150.8 kB / 380.2 MB, free: 256 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.005109, allocations: 11.91 kB / 380.3 MB, free: 244 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.005135, allocations: 27.36 kB / 380.3 MB, free: 208 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.005245, allocations: 0.4922 MB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.005262, allocations: 11.92 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.182e-05/0.005273, allocations: 4 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.428e-05/0.005308, allocations: 23.88 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005309, allocations: 4 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.437e-05/0.005374, allocations: 69.53 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.005382, allocations: 4 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.005385, allocations: 0 / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.005395, allocations: 4 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.545e-05/0.00543, allocations: 15.98 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.005434, allocations: 0 / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.507e-05/0.005449, allocations: 0 / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.005455, allocations: 4 kB / 380.9 MB, free: 15.55 MB / 362.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 5.755e-05/0.005513, allocations: 160.5 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.00553, allocations: 7.953 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.315e-05/0.005623, allocations: 70.08 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005624, allocations: 0 / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.005627, allocations: 0 / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005629, allocations: 4 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.005822, allocations: 329.4 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.005823, allocations: 0 / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.005849, allocations: 15.98 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.005851, allocations: 0 / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.005856, allocations: 0 / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.005858, allocations: 0 / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005858, allocations: 0 / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.685e-05/0.005945, allocations: 216 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-06/0.005951, allocations: 4.016 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.005962, allocations: 8 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.811e-05/0.006, allocations: 4 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.006021, allocations: 3.984 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.006024, allocations: 4 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.368e-05/0.006078, allocations: 159.1 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006078, allocations: 0 / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.006222, allocations: 15.94 kB / 381.9 MB, free: 14.49 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: 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.000727/0.006949, allocations: 381.1 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.553e-05/0.007034, allocations: 35.61 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007036, allocations: 0 / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.007056, allocations: 15.69 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.007234, allocations: 23.91 kB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.007487, allocations: 194.5 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.101e-05/0.007518, allocations: 63.34 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.921e-05/0.007547, allocations: 11.98 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.007568, allocations: 16.44 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007569, allocations: 0 / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Templates: time 0.002552/0.01012, allocations: 1.26 MB / 383.9 MB, free: 12.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.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.8775357622653246]