Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001351/0.001351, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001532/0.001532, allocations: 209.2 kB / 23.73 MB, free: 4.523 MB / 14.72 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.229/0.229, allocations: 46.95 MB / 360.9 MB, free: 4.035 MB / 286.1 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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.91 kB / 0.4966 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3547, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003308/0.358, allocations: 1.616 MB / 0.5627 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3591, allocations: 0.5155 MB / 0.5632 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.3592, allocations: 0 / 0.5632 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.3595, allocations: 83.64 kB / 0.5633 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.3598, allocations: 103.6 kB / 0.5634 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.3601, allocations: 99.31 kB / 0.5635 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.3603, allocations: 75.81 kB / 0.5635 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3604, allocations: 19.64 kB / 0.5635 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.3605, allocations: 35.86 kB / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3606, allocations: 55.75 kB / 0.5636 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3606, allocations: 8 kB / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.3608, allocations: 47.97 kB / 0.5637 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.3608, allocations: 19.92 kB / 0.5637 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.3609, allocations: 19.81 kB / 0.5637 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3611, allocations: 106.3 kB / 0.5638 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3611, allocations: 0 / 0.5638 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3611, allocations: 0 / 0.5638 GB, free: 1.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3611, allocations: 0 / 0.5638 GB, free: 1.371 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005682/0.3617, allocations: 337.5 kB / 0.5641 GB, free: 1.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3617, allocations: 8.031 kB / 0.5642 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.3618, allocations: 20.84 kB / 0.5642 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.362, allocations: 142.3 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.362, allocations: 4.375 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.362, allocations: 4.375 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3622, allocations: 53.81 kB / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3622, allocations: 3.984 kB / 0.5644 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3622, allocations: 0 / 0.5644 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3622, allocations: 0 / 0.5644 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.3623, allocations: 27.92 kB / 0.5644 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.3627, allocations: 240.4 kB / 0.5646 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3629, allocations: 38.56 kB / 0.5647 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.3629, allocations: 20.94 kB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.3629, allocations: 0 / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.363, allocations: 34.5 kB / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.363, allocations: 4 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000965/0.3639, allocations: 225.3 kB / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.364, allocations: 51.41 kB / 0.565 GB, free: 52 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.3642, allocations: 195.3 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.3643, allocations: 29.7 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.3643, allocations: 108.1 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.3644, allocations: 23.75 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.3644, allocations: 25.7 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3646, allocations: 330.8 kB / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.43e-05/0.3647, allocations: 31.92 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.3648, allocations: 23.98 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3649, allocations: 64.77 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3649, allocations: 0 / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002428/0.3652, allocations: 105.5 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3652, allocations: 8 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3652, allocations: 4 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3652, allocations: 4 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.3653, allocations: 19.98 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3653, allocations: 320 / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.3654, allocations: 4 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3654, allocations: 3.938 kB / 0.5659 GB, free: 15.04 MB / 414.1 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 0.0001154/0.3655, allocations: 125.8 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.3655, allocations: 16.33 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.3659, allocations: 119 kB / 0.5662 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3659, allocations: 4 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3659, allocations: 0 / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3659, allocations: 3.984 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.3664, allocations: 346.9 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3664, allocations: 0 / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.378e-05/0.3665, allocations: 15.98 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3665, allocations: 4 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3665, allocations: 0 / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3665, allocations: 3.938 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3665, allocations: 7.969 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.3668, allocations: 204.3 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.3668, allocations: 7.953 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3668, allocations: 4 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.3669, allocations: 11.92 kB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.367, allocations: 0 / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.367, allocations: 7.984 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.3671, allocations: 153.8 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3671, allocations: 0 / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3674, allocations: 27.92 kB / 0.5669 GB, free: 13.91 MB / 414.1 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.00198/0.3694, allocations: 496.1 kB / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.3696, allocations: 59.97 kB / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.3696, allocations: 4 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.374e-05/0.3697, allocations: 39.91 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.3701, allocations: 21.61 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.3706, allocations: 251.5 kB / 0.5678 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3708, allocations: 92.25 kB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.3708, allocations: 12.64 kB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.3708, allocations: 19.44 kB / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3708, allocations: 0 / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of Templates: time 0.004802/0.3756, allocations: 1.438 MB / 0.5693 GB, free: 11.67 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.195397245232016]