Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.00118/0.00118, allocations: 79.75 kB / 21.19 MB, free: 3.375 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.001263/0.001263, allocations: 165 kB / 24.55 MB, free: 12 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 0.9944/0.9944, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.253/0.253, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.614e-05, allocations: 2.312 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002278/0.002304, allocations: 1.712 MB / 379.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007533/0.003057, allocations: 0.5453 MB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.003115, allocations: 4 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.003601, allocations: 455 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005019/0.004103, allocations: 291.2 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.004395, allocations: 135.5 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.004619, allocations: 175.6 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.004725, allocations: 19.97 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.004849, allocations: 119.8 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.005042, allocations: 243.5 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.005059, allocations: 8 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.882e-05/0.005158, allocations: 51.91 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.817e-05/0.005256, allocations: 83.72 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.0053, allocations: 47.66 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.00556, allocations: 199.2 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.005566, allocations: 0 / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.005568, allocations: 0 / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.882e-06/0.005573, allocations: 0 / 382.1 MB, free: 14.54 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006584/0.006232, allocations: 0.7047 MB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.00627, allocations: 12.03 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.006336, allocations: 44.66 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.006529, allocations: 252.8 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.00654, allocations: 8.312 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.006562, allocations: 4.375 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.006702, allocations: 66.88 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.006713, allocations: 192 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.006723, allocations: 4.125 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.006732, allocations: 4 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.006769, allocations: 16 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.007202, allocations: 431.6 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.763e-05/0.00729, allocations: 43 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.007319, allocations: 19.77 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.007341, allocations: 0 / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.007367, allocations: 37.39 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.007368, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006508/0.008019, allocations: 256.6 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.008051, allocations: 55.41 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.008448, allocations: 0.6277 MB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.008462, allocations: 25.7 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.008608, allocations: 294.7 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.008637, allocations: 31.73 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.00867, allocations: 27.36 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.008817, allocations: 0.5586 MB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.008841, allocations: 7.984 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.00886, allocations: 12 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.853e-05/0.008909, allocations: 31.69 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.00891, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001123/0.009022, allocations: 113.3 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.009038, allocations: 5.875 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.009044, allocations: 0 / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.009059, allocations: 8 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.009145, allocations: 12 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.009151, allocations: 0 / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.009179, allocations: 7.984 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.009186, allocations: 0 / 385.8 MB, free: 10.64 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 (8): * Single equations (assignments): 8 * 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 9.238e-05/0.009278, allocations: 164.5 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.009316, allocations: 43.72 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.009498, allocations: 121.4 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.0095, allocations: 4 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.009505, allocations: 432 / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.00951, allocations: 4 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.009944, allocations: 0.5009 MB / 386.6 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.009946, allocations: 0 / 386.6 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.009994, allocations: 12 kB / 386.6 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.009998, allocations: 4 kB / 386.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.01001, allocations: 3.984 kB / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01001, allocations: 4.453 kB / 386.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.01001, allocations: 3.938 kB / 386.7 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.01015, allocations: 279.3 kB / 386.9 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.01018, allocations: 35.72 kB / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.01019, allocations: 0 / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.566e-05/0.01024, allocations: 7.984 kB / 387 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.01027, allocations: 7.938 kB / 387 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.01027, allocations: 4 kB / 387 MB, free: 9.367 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002448/0.01052, allocations: 426.8 kB / 387.4 MB, free: 8.953 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01052, allocations: 0 / 387.4 MB, free: 8.953 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.0107, allocations: 31.94 kB / 387.4 MB, free: 8.922 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009338/0.01163, allocations: 435.2 kB / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.01175, allocations: 43.61 kB / 387.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01175, allocations: 0 / 387.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.01178, allocations: 31.61 kB / 387.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.01203, allocations: 25.95 kB / 388 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.01267, allocations: 0.6055 MB / 388.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.89e-05/0.01274, allocations: 119.2 kB / 388.7 MB, free: 7.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.008e-05/0.01278, allocations: 21.02 kB / 388.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.01281, allocations: 20.44 kB / 388.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01281, allocations: 0 / 388.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of Templates: time 0.004243/0.01706, allocations: 1.72 MB / 390.4 MB, free: 6.023 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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.227716484107077]