Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001953/0.001953, 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.00239/0.00239, allocations: 161.7 kB / 24.27 MB, free: 168 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.637/1.637, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3494/0.3494, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.329e-05/3.545e-05, allocations: 2.312 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003207/0.003243, allocations: 1.615 MB / 376.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.004398, allocations: 0.5569 MB / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.004449, allocations: 0 / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007082/0.005157, allocations: 455.1 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.00567, allocations: 291.2 kB / 378.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.006114, allocations: 183.4 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.006371, allocations: 167.7 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.006469, allocations: 15.97 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.00663, allocations: 115.8 kB / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.00693, allocations: 243.6 kB / 378.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.006952, allocations: 8 kB / 378.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.007024, allocations: 23.92 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.007151, allocations: 83.66 kB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.323e-05/0.007224, allocations: 35.75 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.007578, allocations: 235.1 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.007581, allocations: 0 / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007582, allocations: 0 / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.007588, allocations: 0 / 379.2 MB, free: 0.9766 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008854/0.008474, allocations: 0.5738 MB / 379.8 MB, free: 380 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.008514, allocations: 11.97 kB / 379.8 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.028e-05/0.008604, allocations: 48.66 kB / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.008931, allocations: 246 kB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.008947, allocations: 8.375 kB / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.008959, allocations: 384 / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.009178, allocations: 54.23 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.009188, allocations: 192 / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.009203, allocations: 8.062 kB / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.009207, allocations: 0 / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.00935, allocations: 35.97 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.00991, allocations: 340.4 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.01007, allocations: 42.56 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.705e-05/0.01015, allocations: 24.94 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.01018, allocations: 7.922 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.01022, allocations: 34.56 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.01022, allocations: 0 / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004191/0.01064, allocations: 137.3 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.01069, allocations: 51.41 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.01178, allocations: 0.8575 MB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.01181, allocations: 33.69 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.01203, allocations: 212 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.01205, allocations: 7.953 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.01208, allocations: 13.72 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.01232, allocations: 366.8 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.0124, allocations: 15.98 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.01246, allocations: 19.98 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.0126, allocations: 40.83 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.0126, allocations: 7.938 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002523/0.01286, allocations: 121.3 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.01287, allocations: 4 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01288, allocations: 0 / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.0129, allocations: 0 / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.01299, allocations: 11.98 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.01299, allocations: 4 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.01305, allocations: 7.984 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.01306, allocations: 0 / 382.6 MB, free: 13.49 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 (3): * Single equations (assignments): 3 * 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.0002239/0.01328, allocations: 209.8 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.259e-05/0.01336, allocations: 47.98 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.01367, allocations: 133 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01367, allocations: 4 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01367, allocations: 0 / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.01368, allocations: 4 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.01399, allocations: 233.2 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01399, allocations: 3.938 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.105e-05/0.01405, allocations: 12 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.01406, allocations: 7.922 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.01407, allocations: 0 / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01407, allocations: 0 / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01407, allocations: 0 / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.01438, allocations: 211.2 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.01443, allocations: 39.72 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.01446, allocations: 3.938 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.942e-05/0.01455, allocations: 4 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.01457, allocations: 3.984 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.01458, allocations: 4 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007923/0.01537, allocations: 0.6472 MB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01537, allocations: 0 / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.01564, allocations: 23.94 kB / 384.1 MB, free: 11.86 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 (3): * Single equations (assignments): 3 * 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.001704/0.01734, allocations: 373.5 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.01754, allocations: 39.95 kB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.01755, allocations: 4 kB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.25e-05/0.01762, allocations: 19.92 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.01804, allocations: 46.56 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.01937, allocations: 0.8147 MB / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.01966, allocations: 220.1 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.437e-05/0.01971, allocations: 19.97 kB / 385.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.01976, allocations: 12.5 kB / 385.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.01976, allocations: 0 / 385.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of Templates: time 0.004956/0.02471, allocations: 1.172 MB / 386.8 MB, free: 9.258 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.974041578010656]