Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.0009856/0.0009856, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001834/0.001834, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 18.57 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 0.9644/0.9644, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.2518/0.2518, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 266.7 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.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.318e-05, allocations: 3.156 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002445/0.002469, allocations: 2.006 MB / 381.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009836/0.003452, allocations: 0.7936 MB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.003557, allocations: 4 kB / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.003955, allocations: 175.3 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.004335, allocations: 219 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.004917, allocations: 407.1 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.005231, allocations: 311 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.005358, allocations: 44.92 kB / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.005532, allocations: 163.5 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.005684, allocations: 151.6 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.00571, allocations: 16 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.631e-05/0.005796, allocations: 43.92 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.005922, allocations: 175.4 kB / 383.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.292e-05/0.005994, allocations: 95.56 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.006296, allocations: 334.6 kB / 384.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006298, allocations: 4 kB / 384.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0063, allocations: 4 kB / 384.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.006305, allocations: 0 / 384.1 MB, free: 12.91 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007328/0.007038, allocations: 0.8637 MB / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.007075, allocations: 11.97 kB / 385 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.969e-05/0.007165, allocations: 80.44 kB / 385.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.00752, allocations: 357.2 kB / 385.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.007532, allocations: 8.375 kB / 385.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.007558, allocations: 12.38 kB / 385.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.007756, allocations: 131.6 kB / 385.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.007767, allocations: 4.188 kB / 385.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.007778, allocations: 8.359 kB / 385.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.007786, allocations: 4.375 kB / 385.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.007835, allocations: 23.92 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.008359, allocations: 0.5925 MB / 386.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.008478, allocations: 94.14 kB / 386.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.008509, allocations: 31.38 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.008539, allocations: 12.05 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.008561, allocations: 45.33 kB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.008563, allocations: 0 / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006201/0.009183, allocations: 305.1 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.009214, allocations: 81.05 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.009689, allocations: 0.7218 MB / 387.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.009706, allocations: 25.7 kB / 387.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.009905, allocations: 359 kB / 387.9 MB, free: 8.957 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.009952, allocations: 55.53 kB / 387.9 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.01, allocations: 43.3 kB / 388 MB, free: 8.852 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.01011, allocations: 0.4887 MB / 388.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.01022, allocations: 15.98 kB / 388.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.241e-05/0.01027, allocations: 43.34 kB / 388.5 MB, free: 8.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.648e-05/0.01036, allocations: 71.34 kB / 388.6 MB, free: 8.211 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.01036, allocations: 0 / 388.6 MB, free: 8.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001862/0.01055, allocations: 173.1 kB / 388.8 MB, free: 8.035 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.01056, allocations: 4 kB / 388.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.01057, allocations: 0 / 388.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.01059, allocations: 4 kB / 388.8 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.01072, allocations: 55.95 kB / 388.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01073, allocations: 3.938 kB / 388.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/0.01081, allocations: 19.92 kB / 388.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.01082, allocations: 8 kB / 388.8 MB, free: 7.941 MB / 362.7 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 9.501e-05/0.01091, allocations: 168.5 kB / 389 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.01098, allocations: 63.58 kB / 389.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.01121, allocations: 190.9 kB / 389.3 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01121, allocations: 4 kB / 389.3 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01121, allocations: 0 / 389.3 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01122, allocations: 11.92 kB / 389.3 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.01176, allocations: 0.6691 MB / 389.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01176, allocations: 0.75 kB / 389.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.01186, allocations: 47.91 kB / 390 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01187, allocations: 0 / 390 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01188, allocations: 11.94 kB / 390 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.01188, allocations: 7.922 kB / 390 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.01189, allocations: 4 kB / 390 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.01232, allocations: 441 kB / 390.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.01237, allocations: 59.61 kB / 390.5 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.0124, allocations: 15.92 kB / 390.5 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.0125, allocations: 15.98 kB / 390.5 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.01256, allocations: 19.97 kB / 390.6 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.01257, allocations: 4 kB / 390.6 MB, free: 6.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.01283, allocations: 454.8 kB / 391 MB, free: 5.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01283, allocations: 3.938 kB / 391 MB, free: 5.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.01307, allocations: 67.92 kB / 391.1 MB, free: 5.648 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 (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.0007902/0.01386, allocations: 364.9 kB / 391.4 MB, free: 5.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.01401, allocations: 83.56 kB / 391.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.01402, allocations: 0 / 391.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.025e-05/0.01408, allocations: 55.78 kB / 391.6 MB, free: 5.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.01448, allocations: 106.6 kB / 391.7 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008292/0.01531, allocations: 0.824 MB / 392.5 MB, free: 4.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.939e-05/0.0154, allocations: 149.1 kB / 392.6 MB, free: 4.129 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.01553, allocations: 59.55 kB / 392.7 MB, free: 4.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.01568, allocations: 146.2 kB / 392.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01568, allocations: 0 / 392.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of Templates: time 0.008131/0.02382, allocations: 5.884 MB / 398.7 MB, free: 14.13 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/OneSidedDerivative2D/OneSidedDerivative2D.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.05485052568838]