Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.0009453/0.0009453, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009568/0.0009568, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9531/0.9531, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2505/0.2505, allocations: 32.81 MB / 294.6 MB, free: 1.254 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.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.599e-05, allocations: 9.484 kB / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002461/0.002487, allocations: 1.696 MB / 378.2 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007878/0.003275, allocations: 0.8026 MB / 379 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.003311, allocations: 0 / 379 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.003524, allocations: 35.77 kB / 379 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.003694, allocations: 39.78 kB / 379.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.365e-06/0.003696, allocations: 4 kB / 379.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.003805, allocations: 35.83 kB / 379.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.994e-05/0.003835, allocations: 4 kB / 379.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.671e-05/0.003902, allocations: 11.98 kB / 379.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.448e-05/0.003926, allocations: 19.91 kB / 379.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.003935, allocations: 0 / 379.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.003977, allocations: 11.94 kB / 379.1 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.004021, allocations: 19.92 kB / 379.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.004039, allocations: 7.938 kB / 379.2 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.004153, allocations: 59.77 kB / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004154, allocations: 0 / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004155, allocations: 0 / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.004158, allocations: 0 / 379.2 MB, free: 1.648 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003257/0.004484, allocations: 392.4 kB / 379.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.004526, allocations: 8.031 kB / 379.6 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.004554, allocations: 8.891 kB / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.004673, allocations: 124.5 kB / 379.7 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.004683, allocations: 4.375 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.004691, allocations: 8.344 kB / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.004803, allocations: 114.7 kB / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.00481, allocations: 8.125 kB / 379.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.004817, allocations: 384 / 379.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/0.004857, allocations: 24.36 kB / 379.9 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.781e-05/0.004885, allocations: 27.8 kB / 379.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.005381, allocations: 1.177 MB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.005453, allocations: 269.5 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.00548, allocations: 126.9 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.005504, allocations: 119.2 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.005543, allocations: 160.6 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.005544, allocations: 0 / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 4.822e-05/0.005592, allocations: 41.64 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.005706, allocations: 178.5 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.005828, allocations: 247 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.652e-06/0.005835, allocations: 25.7 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.005904, allocations: 210.2 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.005906, allocations: 0 / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.005946, allocations: 55.3 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.006049, allocations: 0.4923 MB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.006062, allocations: 11.98 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.079e-05/0.006143, allocations: 189.7 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.006264, allocations: 237.4 kB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.006266, allocations: 0 / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002886/0.006555, allocations: 157.2 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.006566, allocations: 8 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.006573, allocations: 4 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.006586, allocations: 8 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.006655, allocations: 36.55 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.006663, allocations: 15.92 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.00671, allocations: 27.84 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.006718, allocations: 8 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 8.262e-05/0.0068, allocations: 287.6 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.006843, allocations: 160.8 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.006889, allocations: 156.7 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.018e-05/0.006939, allocations: 268 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-05/0.00699, allocations: 272.1 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.488e-05/0.007044, allocations: 268.1 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.007196, allocations: 0.4926 MB / 385.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/0.007226, allocations: 148.9 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.007258, allocations: 152.8 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-05/0.007314, allocations: 272.1 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.118e-05/0.007375, allocations: 268 kB / 386.4 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.705e-05/0.007432, allocations: 264.1 kB / 386.6 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.424e-05/0.007486, allocations: 272.1 kB / 386.9 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.007956, allocations: 455.8 kB / 387.4 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.008007, allocations: 156.8 kB / 387.5 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-05/0.008082, allocations: 268.1 kB / 387.8 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-05/0.008143, allocations: 144.9 kB / 387.9 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.008216, allocations: 280 kB / 388.2 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.008255, allocations: 152.9 kB / 388.3 MB, free: 7.934 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.871e-05/0.008323, allocations: 159.3 kB / 388.5 MB, free: 7.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008323, allocations: 0 / 388.5 MB, free: 7.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001733/0.008497, allocations: 19.94 kB / 388.5 MB, free: 7.758 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 (0): * Single equations (assignments): 0 * 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.0004018/0.008899, allocations: 306.8 kB / 388.8 MB, free: 7.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.646e-05/0.008995, allocations: 68.33 kB / 388.9 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.008998, allocations: 384 / 388.9 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.009001, allocations: 11.94 kB / 388.9 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.009342, allocations: 0.7062 MB / 389.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.009608, allocations: 275.8 kB / 389.9 MB, free: 6.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.792e-05/0.009646, allocations: 67.83 kB / 389.9 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.884e-05/0.009705, allocations: 17.12 kB / 389.9 MB, free: 6.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.009747, allocations: 78.2 kB / 390 MB, free: 6.223 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009748, allocations: 0 / 390 MB, free: 6.223 MB / 362.7 MB Notification: Performance of Templates: time 0.002134/0.01188, allocations: 0.785 MB / 390.8 MB, free: 5.441 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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.876714634243399]