Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001873/0.001873, allocations: 103.5 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001966, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3785/0.3785, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.948e-05/4.182e-05, allocations: 4.703 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.004667/0.004709, allocations: 1.603 MB / 378.8 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.007813, allocations: 1.27 MB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.007888, allocations: 0 / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.008183, allocations: 23.64 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.008638, allocations: 95.48 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.009085, allocations: 111.7 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.009297, allocations: 63.78 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.009421, allocations: 19.97 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.009524, allocations: 27.92 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.009689, allocations: 27.89 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.009716, allocations: 4 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.009979, allocations: 99.75 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.01004, allocations: 8 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.01009, allocations: 15.92 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.01049, allocations: 143.5 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.0105, allocations: 4 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.0105, allocations: 7.938 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.0105, allocations: 0 / 380.7 MB, free: 15.35 MB / 362.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.000806/0.01131, allocations: 427.7 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.01136, allocations: 8.031 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.01143, allocations: 8.891 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.01173, allocations: 148.4 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.01174, allocations: 4.375 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.01177, allocations: 4.375 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.01201, allocations: 91.33 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.01203, allocations: 192 / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.01204, allocations: 4.375 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.01205, allocations: 384 / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.01217, allocations: 23.92 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.01275, allocations: 279.7 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.01304, allocations: 47.05 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.01312, allocations: 23.77 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.01314, allocations: 3.938 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.01318, allocations: 33.39 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.01318, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007451/0.01393, allocations: 137.3 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.965e-05/0.01402, allocations: 85.05 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.0143, allocations: 204.7 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.01433, allocations: 29.7 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.01446, allocations: 146.9 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.01449, allocations: 15.89 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.01456, allocations: 27.38 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003636/0.01493, allocations: 0.4923 MB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.01502, allocations: 15.98 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.01514, allocations: 61.08 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.01531, allocations: 39.67 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01531, allocations: 0 / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002762/0.01559, allocations: 81.5 kB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.01561, allocations: 4 kB / 383.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01561, allocations: 0 / 383.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.01563, allocations: 0 / 383.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.01572, allocations: 11.98 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01573, allocations: 256 / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.0158, allocations: 8.031 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01581, allocations: 4 kB / 383.2 MB, free: 12.68 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 0.0001648/0.01597, allocations: 160.6 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.01604, allocations: 15.89 kB / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.01636, allocations: 86.02 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01636, allocations: 0 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01637, allocations: 0 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01637, allocations: 4 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.01706, allocations: 345.4 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01706, allocations: 0 / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.589e-05/0.01714, allocations: 8 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.01715, allocations: 4 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.01715, allocations: 0 / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.01716, allocations: 3.984 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01716, allocations: 3.938 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.01754, allocations: 227.8 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.01756, allocations: 8.219 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.01759, allocations: 0 / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.01771, allocations: 8 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.01776, allocations: 11.97 kB / 384 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.01777, allocations: 0 / 384 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001834/0.01795, allocations: 155.2 kB / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01795, allocations: 0 / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005048/0.01846, allocations: 39.86 kB / 384.2 MB, free: 11.54 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.004544/0.023, allocations: 0.5177 MB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.0233, allocations: 47.61 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.02331, allocations: 0 / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.02342, allocations: 31.67 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.02393, allocations: 26.42 kB / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.02456, allocations: 177.9 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.02469, allocations: 79.31 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.02479, allocations: 19.91 kB / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.02485, allocations: 16.5 kB / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02485, allocations: 0 / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of Templates: time 0.007989/0.03284, allocations: 1.841 MB / 387 MB, free: 8.914 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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: 5.221291591995396]