Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.0009172/0.0009172, allocations: 80.8 kB / 21.49 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.0009717/0.0009717, allocations: 172.2 kB / 24.92 MB, free: 9.113 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.9269/0.9269, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2429/0.2429, allocations: 32.8 MB / 294.6 MB, free: 1.23 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.012e-05, allocations: 4.281 kB / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002898/0.002918, allocations: 1.643 MB / 324.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.003912, allocations: 0.5336 MB / 325.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.00397, allocations: 0 / 325.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.004258, allocations: 83.58 kB / 325.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.004527, allocations: 107.6 kB / 325.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.004704, allocations: 91.59 kB / 325.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.004834, allocations: 95.73 kB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.411e-05/0.004908, allocations: 7.984 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.355e-05/0.004972, allocations: 47.89 kB / 325.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.005058, allocations: 43.88 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.005073, allocations: 4 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.005147, allocations: 43.92 kB / 325.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.005197, allocations: 27.91 kB / 326 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.005223, allocations: 12.56 kB / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.005358, allocations: 99.59 kB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.00536, allocations: 0 / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.5e-07/0.00536, allocations: 0 / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.005363, allocations: 0 / 326.1 MB, free: 6.832 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.000303/0.005666, allocations: 313.5 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.005697, allocations: 8.031 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.005723, allocations: 12.92 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.005845, allocations: 151.4 kB / 326.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-06/0.005851, allocations: 384 / 326.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.00587, allocations: 4.375 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.341e-05/0.005953, allocations: 62.88 kB / 326.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.005962, allocations: 8.125 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.00597, allocations: 8.125 kB / 326.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.005974, allocations: 0 / 326.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.005996, allocations: 11.98 kB / 326.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.006196, allocations: 171 kB / 326.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.076e-05/0.006247, allocations: 30.52 kB / 326.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.006262, allocations: 12.94 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.006278, allocations: 0 / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.0063, allocations: 42.5 kB / 326.9 MB, free: 5.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.006301, allocations: 0 / 326.9 MB, free: 5.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003537/0.006654, allocations: 141.6 kB / 327 MB, free: 5.773 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.00668, allocations: 51.41 kB / 327.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.006775, allocations: 176.8 kB / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.006787, allocations: 25.7 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.006816, allocations: 104.8 kB / 327.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.006839, allocations: 31.78 kB / 327.4 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.006863, allocations: 17.72 kB / 327.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.328e-05/0.006946, allocations: 326.8 kB / 327.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.006956, allocations: 11.94 kB / 327.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.234e-05/0.006969, allocations: 11.98 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/0.006997, allocations: 20.84 kB / 327.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.006997, allocations: 0 / 327.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.281e-05/0.00705, allocations: 61.61 kB / 327.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.00706, allocations: 7.984 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.007064, allocations: 0 / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.007079, allocations: 0 / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.007144, allocations: 15.94 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.007148, allocations: 4 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.007165, allocations: 11.92 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.007171, allocations: 8 kB / 327.9 MB, free: 4.844 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 9.092e-05/0.007262, allocations: 108.7 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.007279, allocations: 15.94 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.09e-05/0.00737, allocations: 75.36 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007372, allocations: 0 / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007373, allocations: 0 / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007376, allocations: 432 / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.007602, allocations: 251.5 kB / 328.3 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.007604, allocations: 4 kB / 328.3 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.007635, allocations: 20.02 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.007638, allocations: 0 / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.007645, allocations: 4 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007647, allocations: 4 kB / 328.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.007649, allocations: 4 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.84e-05/0.007727, allocations: 164.2 kB / 328.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.007738, allocations: 19.88 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.007749, allocations: 4 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.007779, allocations: 4 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.007801, allocations: 3.984 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.007807, allocations: 8 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.93e-05/0.007846, allocations: 51.66 kB / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007846, allocations: 0 / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001273/0.007974, allocations: 19.98 kB / 328.6 MB, free: 4.027 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.001414/0.009388, allocations: 0.5634 MB / 329.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.433e-05/0.009462, allocations: 40.72 kB / 329.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.009466, allocations: 4 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.952e-05/0.009485, allocations: 16.86 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.009621, allocations: 22.73 kB / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.009925, allocations: 231.6 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.009962, allocations: 67.33 kB / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.119e-05/0.009993, allocations: 20.72 kB / 329.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.01004, allocations: 59.38 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01004, allocations: 0 / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of Templates: time 0.003077/0.01312, allocations: 1.489 MB / 331.2 MB, free: 1.785 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.904567814897746]