Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001831/0.001831, allocations: 96.31 kB / 20.96 MB, free: 3.586 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.002551/0.002551, allocations: 157.7 kB / 24.27 MB, free: 292 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.711/1.711, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3444/0.3444, allocations: 32.79 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.759e-05/3.978e-05, allocations: 6.25 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.004372/0.004412, allocations: 1.611 MB / 376.9 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.005969, allocations: 0.5374 MB / 377.4 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.006034, allocations: 4 kB / 377.4 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009815/0.007015, allocations: 455.1 kB / 377.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007485/0.007764, allocations: 291.3 kB / 378.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/0.008411, allocations: 171.4 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.008783, allocations: 175.6 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.008892, allocations: 8 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.009114, allocations: 115.8 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005244/0.009638, allocations: 239.6 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.009664, allocations: 4 kB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.009756, allocations: 23.98 kB / 378.9 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.009906, allocations: 87.7 kB / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.009989, allocations: 31.73 kB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.01045, allocations: 231.1 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01045, allocations: 4 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01045, allocations: 3.938 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.01046, allocations: 0 / 379.2 MB, free: 1.016 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.001061/0.01152, allocations: 0.5699 MB / 379.8 MB, free: 424 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.01156, allocations: 8.031 kB / 379.8 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.01168, allocations: 48.66 kB / 379.8 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.01206, allocations: 242 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.01208, allocations: 4.375 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.01209, allocations: 384 / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.01227, allocations: 58.17 kB / 380.1 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.01227, allocations: 4.188 kB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.01229, allocations: 4.125 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.01229, allocations: 0 / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.01241, allocations: 23.98 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.01308, allocations: 324.5 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.0132, allocations: 34.5 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.718e-05/0.01328, allocations: 20.86 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.01331, allocations: 3.984 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.01335, allocations: 34.56 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.01335, allocations: 0 / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004027/0.01375, allocations: 105.4 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.01381, allocations: 55.34 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.01528, allocations: 0.8575 MB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.01531, allocations: 29.69 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.01563, allocations: 216 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.01565, allocations: 7.891 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.01571, allocations: 13.72 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003127/0.01602, allocations: 366.9 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.01608, allocations: 11.94 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.01614, allocations: 11.98 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.01627, allocations: 28.84 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01627, allocations: 0 / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002671/0.01654, allocations: 101.3 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.01656, allocations: 8 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01657, allocations: 4.094 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.01659, allocations: 0 / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.01667, allocations: 4 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01668, allocations: 0 / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.251e-05/0.01675, allocations: 4 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.01676, allocations: 3.984 kB / 382.4 MB, free: 13.67 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 (2): * Single equations (assignments): 2 * 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.0003215/0.01708, allocations: 209.8 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.0172, allocations: 47.66 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.01752, allocations: 104.7 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.01752, allocations: 8.016 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01753, allocations: 0 / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01753, allocations: 0 / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.01795, allocations: 233.2 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01796, allocations: 0 / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.01801, allocations: 7.938 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.01801, allocations: 3.938 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01803, allocations: 7.984 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01803, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01803, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.01835, allocations: 187.3 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.01843, allocations: 43.64 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.01847, allocations: 0 / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.0186, allocations: 4 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.01862, allocations: 4 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.01862, allocations: 0 / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001108/0.01973, allocations: 0.6511 MB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01973, allocations: 0 / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004466/0.02018, allocations: 16 kB / 383.9 MB, free: 12.1 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 (2): * Single equations (assignments): 2 * 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.002257/0.02243, allocations: 375.8 kB / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.02265, allocations: 23.97 kB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.02266, allocations: 0 / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.384e-05/0.02272, allocations: 16.06 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.02337, allocations: 25.95 kB / 384.3 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.02531, allocations: 0.8069 MB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.0257, allocations: 216.2 kB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.067e-05/0.02577, allocations: 11.97 kB / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.02582, allocations: 12.5 kB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02582, allocations: 0 / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of Templates: time 0.007081/0.0329, allocations: 1.14 MB / 386.5 MB, free: 9.594 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.007333280984312]