Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.0009272/0.0009272, allocations: 80.8 kB / 21.5 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.001072/0.001072, allocations: 169.9 kB / 24.91 MB, free: 9.184 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.984/0.984, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2658/0.2658, allocations: 32.81 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.848e-05, allocations: 2.312 kB / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003028/0.003046, allocations: 1.706 MB / 325 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.004114, allocations: 0.5607 MB / 325.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.00417, allocations: 0 / 325.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.004769, allocations: 459 kB / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.005278, allocations: 291.2 kB / 326.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.005597, allocations: 131.6 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.005854, allocations: 183.6 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.005952, allocations: 16.84 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.006111, allocations: 123.8 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.006338, allocations: 199.6 kB / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.006357, allocations: 4 kB / 326.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.006467, allocations: 55.92 kB / 327 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.006581, allocations: 87.64 kB / 327 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.006626, allocations: 39.73 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.00688, allocations: 219.1 kB / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006882, allocations: 0 / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006883, allocations: 0 / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.006887, allocations: 4 kB / 327.3 MB, free: 5.598 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004222/0.007309, allocations: 0.5578 MB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.007337, allocations: 8.031 kB / 327.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.007374, allocations: 28.91 kB / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.00754, allocations: 250 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.007548, allocations: 4.375 kB / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.007568, allocations: 4.375 kB / 328.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.041e-05/0.007658, allocations: 62.94 kB / 328.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.007666, allocations: 192 / 328.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.007673, allocations: 4.125 kB / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.007678, allocations: 4 kB / 328.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.007707, allocations: 15.92 kB / 328.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.007907, allocations: 176.2 kB / 328.4 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.008024, allocations: 34.56 kB / 328.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.008041, allocations: 16.88 kB / 328.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.008055, allocations: 4 kB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.008075, allocations: 34.62 kB / 328.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.008076, allocations: 0 / 328.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000444/0.00852, allocations: 221.4 kB / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.008546, allocations: 51.41 kB / 328.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.008847, allocations: 0.5399 MB / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.008857, allocations: 25.7 kB / 329.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.008911, allocations: 141.3 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.008939, allocations: 39.67 kB / 329.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.008968, allocations: 21.7 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.009193, allocations: 370.6 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.00921, allocations: 11.98 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.009225, allocations: 11.72 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.009267, allocations: 40.81 kB / 329.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.009268, allocations: 0.5625 kB / 329.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.469e-05/0.009343, allocations: 85.59 kB / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.009354, allocations: 4 kB / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.009358, allocations: 0 / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.009371, allocations: 4 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.817e-05/0.009429, allocations: 27.92 kB / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.009432, allocations: 4 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.009461, allocations: 7.984 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.009466, allocations: 0 / 330.1 MB, free: 2.66 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 (11): * Single equations (assignments): 11 * 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.042e-05/0.009537, allocations: 120.6 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.009563, allocations: 27.97 kB / 330.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.009692, allocations: 117.4 kB / 330.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.009695, allocations: 4 kB / 330.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.009696, allocations: 0 / 330.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.009699, allocations: 0 / 330.3 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.009972, allocations: 336.1 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.009974, allocations: 4 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.01002, allocations: 27.92 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01002, allocations: 0 / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.01003, allocations: 4 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01003, allocations: 0 / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01003, allocations: 0 / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.01013, allocations: 205 kB / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.01016, allocations: 35.72 kB / 330.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.01017, allocations: 4 kB / 330.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.01022, allocations: 8.062 kB / 330.9 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.01025, allocations: 19.91 kB / 331 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.01025, allocations: 0 / 331 MB, free: 1.695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.01042, allocations: 283.2 kB / 331.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01042, allocations: 0 / 331.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001558/0.01058, allocations: 28 kB / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001133/0.01171, allocations: 0.5715 MB / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.785e-05/0.0118, allocations: 56.64 kB / 331.9 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.01181, allocations: 12 kB / 331.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.865e-05/0.01183, allocations: 28.78 kB / 331.9 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.01201, allocations: 33.94 kB / 332 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.01258, allocations: 0.6338 MB / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.882e-05/0.01265, allocations: 123.2 kB / 332.7 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.01268, allocations: 8.5 kB / 332.7 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.01274, allocations: 63.36 kB / 332.8 MB, free: 108 kB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01274, allocations: 0 / 332.8 MB, free: 108 kB / 298.7 MB Notification: Performance of Templates: time 0.003758/0.0165, allocations: 1.856 MB / 334.6 MB, free: 14.26 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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.9998222100548446]