Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001532/0.001532, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001623/0.001623, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.491/1.491, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3334/0.3334, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.422e-05/3.623e-05, allocations: 6.25 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.004545/0.004581, allocations: 1.629 MB / 376.9 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.006197, allocations: 0.522 MB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.006257, allocations: 0 / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.006919, allocations: 123.6 kB / 377.6 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.00741, allocations: 127.4 kB / 377.7 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.007818, allocations: 95.69 kB / 377.8 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.008089, allocations: 103.7 kB / 377.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.008201, allocations: 8 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.008358, allocations: 59.86 kB / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.008565, allocations: 83.83 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.008589, allocations: 4 kB / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.008744, allocations: 47.91 kB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.251e-05/0.008836, allocations: 31.86 kB / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.008886, allocations: 15.94 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.00922, allocations: 127.5 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.009224, allocations: 0 / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.009225, allocations: 0 / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.00923, allocations: 0 / 378.2 MB, free: 1.988 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000741/0.009971, allocations: 361.4 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.01002, allocations: 12.03 kB / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.67e-05/0.01009, allocations: 16.84 kB / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.01039, allocations: 145.3 kB / 378.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.01041, allocations: 8.359 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.01044, allocations: 8.375 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.01064, allocations: 58.17 kB / 378.8 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.01066, allocations: 192 / 378.8 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.01067, allocations: 4.125 kB / 378.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.01068, allocations: 0 / 378.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.01083, allocations: 27.97 kB / 378.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.01137, allocations: 240.5 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.01155, allocations: 46.5 kB / 379.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.236e-05/0.01164, allocations: 16.88 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.01167, allocations: 8 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.01172, allocations: 34.56 kB / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.01172, allocations: 0 / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001445/0.01316, allocations: 237.4 kB / 379.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.01322, allocations: 55.41 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004544/0.01367, allocations: 279.8 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.0137, allocations: 25.7 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.01383, allocations: 116.1 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.01389, allocations: 35.75 kB / 379.9 MB, free: 136 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.01396, allocations: 25.7 kB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002749/0.01424, allocations: 330.8 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.01435, allocations: 19.98 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.971e-05/0.01445, allocations: 23.98 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.01468, allocations: 73.05 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01469, allocations: 0 / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003454/0.01503, allocations: 101.6 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.01506, allocations: 8 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01506, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.01508, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.01523, allocations: 23.92 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.01524, allocations: 0 / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.0153, allocations: 8 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.01532, allocations: 4 kB / 380.5 MB, free: 15.5 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 (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 0.0001876/0.01551, allocations: 137.8 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.01558, allocations: 15.91 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.01602, allocations: 127 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01602, allocations: 0 / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.01603, allocations: 7.922 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.01604, allocations: 4 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008242/0.01686, allocations: 350.9 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.01687, allocations: 0 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.01698, allocations: 19.98 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01698, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01699, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.017, allocations: 7.938 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.017, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.01745, allocations: 220.1 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.01748, allocations: 15.94 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.0175, allocations: 0 / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.01765, allocations: 7.984 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.0177, allocations: 11.92 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.01772, allocations: 8 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003182/0.01804, allocations: 200.2 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01804, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004925/0.01853, allocations: 23.98 kB / 381.7 MB, free: 14.3 MB / 362.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.003334/0.02186, allocations: 491.5 kB / 382.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.02223, allocations: 59.91 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.02224, allocations: 4 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.02239, allocations: 35.97 kB / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.02305, allocations: 27.88 kB / 382.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009533/0.024, allocations: 318.6 kB / 382.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.0242, allocations: 109.1 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.22e-05/0.02428, allocations: 8.797 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.02434, allocations: 16.5 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.02434, allocations: 0 / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of Templates: time 0.007212/0.03155, allocations: 1.392 MB / 384.1 MB, free: 12.03 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7532881810329854]