Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.0009222/0.0009222, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001002/0.001002, allocations: 159.1 kB / 24.99 MB, free: 8.801 MB / 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 0.9176/0.9176, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.2535/0.2535, allocations: 34.87 MB / 296.6 MB, free: 0.5586 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.14e-06/5.14e-06, allocations: 4 kB / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.399e-05, allocations: 3.719 kB / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004343/0.004377, allocations: 2.038 MB / 380.8 MB, free: 348 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.006519, allocations: 1.105 MB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.006665, allocations: 11.94 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.007158, allocations: 274.9 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.007686, allocations: 262.9 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.008906, allocations: 0.6275 MB / 383.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.009378, allocations: 370.9 kB / 383.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.00954, allocations: 52.89 kB / 383.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.009803, allocations: 183.5 kB / 383.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.01005, allocations: 199.5 kB / 383.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.01008, allocations: 12 kB / 383.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.01024, allocations: 79.78 kB / 383.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.01037, allocations: 103.6 kB / 384 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.01044, allocations: 63.72 kB / 384.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.0108, allocations: 258.8 kB / 384.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01081, allocations: 0 / 384.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01081, allocations: 0 / 384.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.01082, allocations: 0 / 384.4 MB, free: 12.77 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007534/0.01157, allocations: 0.6971 MB / 385.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.0116, allocations: 11.97 kB / 385.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.462e-05/0.0117, allocations: 48.66 kB / 385.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.01205, allocations: 282.7 kB / 385.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.01206, allocations: 8.375 kB / 385.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.0121, allocations: 12.38 kB / 385.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.01232, allocations: 109 kB / 385.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.01233, allocations: 192 / 385.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.01235, allocations: 8.375 kB / 385.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.01236, allocations: 384 / 385.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.934e-05/0.01246, allocations: 43.89 kB / 385.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.01305, allocations: 483.3 kB / 386 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.01319, allocations: 86.83 kB / 386.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.01323, allocations: 19.67 kB / 386.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.01325, allocations: 8 kB / 386.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.01328, allocations: 37.39 kB / 386.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.01328, allocations: 0 / 386.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006833/0.01396, allocations: 339.2 kB / 386.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.01399, allocations: 55.41 kB / 386.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.01445, allocations: 498.7 kB / 387.1 MB, free: 9.895 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.01447, allocations: 25.7 kB / 387.1 MB, free: 9.863 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.01463, allocations: 263.2 kB / 387.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.01468, allocations: 59.48 kB / 387.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.01474, allocations: 39.36 kB / 387.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.01491, allocations: 0.5313 MB / 388 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.01496, allocations: 23.98 kB / 388 MB, free: 8.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.01502, allocations: 39.88 kB / 388 MB, free: 8.887 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.01515, allocations: 70.03 kB / 388.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.01515, allocations: 0 / 388.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002339/0.01539, allocations: 169.2 kB / 388.3 MB, free: 8.645 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.0154, allocations: 8 kB / 388.3 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.0154, allocations: 0 / 388.3 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.01542, allocations: 3.938 kB / 388.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.01551, allocations: 31.97 kB / 388.3 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.01552, allocations: 4 kB / 388.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.01555, allocations: 4 kB / 388.3 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.01556, allocations: 15.98 kB / 388.3 MB, free: 8.578 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 (17): * Single equations (assignments): 17 * 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 7.996e-05/0.01564, allocations: 160.5 kB / 388.5 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.01569, allocations: 51.72 kB / 388.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.01592, allocations: 184.3 kB / 388.7 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01592, allocations: 7.875 kB / 388.7 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01593, allocations: 0 / 388.7 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01593, allocations: 4 kB / 388.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.0164, allocations: 0.5674 MB / 389.3 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0164, allocations: 0 / 389.3 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.651e-05/0.01647, allocations: 39.92 kB / 389.3 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01647, allocations: 0 / 389.3 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.01648, allocations: 4 kB / 389.3 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01648, allocations: 4 kB / 389.4 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.01648, allocations: 0 / 389.4 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.01668, allocations: 315.5 kB / 389.7 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.01671, allocations: 35.72 kB / 389.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.01673, allocations: 0 / 389.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.665e-05/0.01677, allocations: 11.98 kB / 389.7 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.0168, allocations: 7.984 kB / 389.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.01681, allocations: 8 kB / 389.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002075/0.01702, allocations: 335 kB / 390 MB, free: 6.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01702, allocations: 0 / 390 MB, free: 6.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002009/0.01722, allocations: 55.92 kB / 390.1 MB, free: 6.738 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 (17): * Single equations (assignments): 17 * 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.001447/0.01867, allocations: 0.6364 MB / 390.7 MB, free: 6.332 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.01882, allocations: 95.48 kB / 390.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01883, allocations: 4 kB / 390.8 MB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.9e-05/0.01889, allocations: 55.59 kB / 390.9 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.01921, allocations: 91.44 kB / 391 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.01986, allocations: 0.6041 MB / 391.6 MB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.084e-05/0.01994, allocations: 120.2 kB / 391.7 MB, free: 5.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.13e-05/0.02003, allocations: 49.89 kB / 391.8 MB, free: 5.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.02008, allocations: 32.48 kB / 391.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02008, allocations: 4 kB / 391.8 MB, free: 5.238 MB / 362.7 MB Notification: Performance of Templates: time 0.005996/0.02608, allocations: 3.452 MB / 395.2 MB, free: 1.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.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: 3.0513958451338112]