Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 217.5 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.92 MB / 361.5 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 79.88 kB / 0.4974 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3521, allocations: 66.08 MB / 0.562 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003401/0.3555, allocations: 1.89 MB / 0.5638 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3568, allocations: 0.729 MB / 0.5645 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.3568, allocations: 4 kB / 0.5645 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.3573, allocations: 175.5 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.3577, allocations: 179.3 kB / 0.5649 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.3584, allocations: 331.9 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.3587, allocations: 239.4 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.3589, allocations: 53.41 kB / 0.5655 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.359, allocations: 95.62 kB / 0.5656 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.3593, allocations: 163.5 kB / 0.5657 GB, free: 396 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.3593, allocations: 12 kB / 0.5657 GB, free: 384 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-05/0.3594, allocations: 39.98 kB / 0.5658 GB, free: 344 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3595, allocations: 107.6 kB / 0.5659 GB, free: 236 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.3597, allocations: 127 kB / 0.566 GB, free: 108 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.3601, allocations: 309.2 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3601, allocations: 0 / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3601, allocations: 0 / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3601, allocations: 0 / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009891/0.3611, allocations: 0.5858 MB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3611, allocations: 8.031 kB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.486e-05/0.3612, allocations: 44.66 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.3617, allocations: 312.6 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.3617, allocations: 8.375 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.3617, allocations: 8.375 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.3621, allocations: 167.8 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3621, allocations: 4.125 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.3622, allocations: 11.94 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3622, allocations: 0 / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/0.3627, allocations: 151.8 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.3637, allocations: 0.6128 MB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.3641, allocations: 145.1 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.3643, allocations: 81.77 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.3643, allocations: 4 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3644, allocations: 34.56 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.3644, allocations: 0 / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002533/0.3669, allocations: 0.8008 MB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.367, allocations: 89.11 kB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006663/0.3676, allocations: 0.5838 MB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.3677, allocations: 25.7 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.3678, allocations: 200.4 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.21e-05/0.3679, allocations: 63.44 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.368, allocations: 33.7 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3681, allocations: 350.8 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.3686, allocations: 135.9 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.369, allocations: 157.8 kB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000843/0.3699, allocations: 301.4 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3699, allocations: 3.938 kB / 0.571 GB, free: 10.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009673/0.3709, allocations: 369.2 kB / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3709, allocations: 4 kB / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3709, allocations: 8 kB / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3709, allocations: 0 / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.3712, allocations: 67.94 kB / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3712, allocations: 0 / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.3714, allocations: 35.94 kB / 0.5715 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.3714, allocations: 12 kB / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * 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.0001955/0.3716, allocations: 187 kB / 0.5717 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.3717, allocations: 43.66 kB / 0.5717 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.3728, allocations: 424.8 kB / 0.5721 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.3728, allocations: 4 kB / 0.5721 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3728, allocations: 0 / 0.5721 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3728, allocations: 0 / 0.5721 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.3745, allocations: 0.879 MB / 0.573 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3745, allocations: 0 / 0.573 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.3748, allocations: 67.88 kB / 0.5731 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3748, allocations: 0 / 0.5731 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3748, allocations: 8 kB / 0.5731 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3748, allocations: 0 / 0.5731 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3748, allocations: 0 / 0.5731 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.3759, allocations: 0.5395 MB / 0.5736 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.376, allocations: 39.77 kB / 0.5736 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.376, allocations: 4 kB / 0.5736 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.3763, allocations: 39.94 kB / 0.5737 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.3763, allocations: 27.91 kB / 0.5737 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.3764, allocations: 4 kB / 0.5737 GB, free: 7.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004842/0.3768, allocations: 450.9 kB / 0.5741 GB, free: 7.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3768, allocations: 0 / 0.5741 GB, free: 7.438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003287/0.3772, allocations: 48 kB / 0.5742 GB, free: 7.391 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 (18): * Single equations (assignments): 18 * 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.00146/0.3786, allocations: 401.4 kB / 0.5746 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009694/0.3796, allocations: 299.6 kB / 0.5749 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3796, allocations: 192 / 0.5749 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.3801, allocations: 163.7 kB / 0.575 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.3806, allocations: 55.62 kB / 0.5751 GB, free: 6.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.3818, allocations: 0.7311 MB / 0.5758 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.3822, allocations: 0.8104 MB / 0.5766 GB, free: 5.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.3823, allocations: 35.42 kB / 0.5766 GB, free: 4.984 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3823, allocations: 0 / 0.5766 GB, free: 4.984 MB / 414.1 MB Notification: Performance of Templates: time 0.007426/0.3898, allocations: 4.694 MB / 0.5812 GB, free: 312 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.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: 7.937022429890931]