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.001943/0.001943, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002001/0.002001, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.646/1.646, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 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.3483/0.3483, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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 2.024e-06/2.024e-06, allocations: 0 / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.175e-05, allocations: 4.141 kB / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.00408/0.004112, allocations: 1.984 MB / 379.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.005761, allocations: 0.7899 MB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.00587, allocations: 4 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.006437, allocations: 187.2 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.007006, allocations: 215 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008758/0.007882, allocations: 403.1 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004312/0.008313, allocations: 311 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.008459, allocations: 44.91 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.008697, allocations: 163.5 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.008942, allocations: 155.6 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.008984, allocations: 12 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.009099, allocations: 47.92 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.009302, allocations: 167.5 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.009435, allocations: 95.56 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.009978, allocations: 402.5 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.009982, allocations: 0 / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.009983, allocations: 0 / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.00999, allocations: 0 / 382.2 MB, free: 13.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.001379/0.01137, allocations: 0.9026 MB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.01141, allocations: 8.031 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.01154, allocations: 72.52 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.01221, allocations: 385.2 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.01223, allocations: 8.375 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.01226, allocations: 8.375 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.0126, allocations: 145.3 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.01262, allocations: 192 / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.01264, allocations: 12.36 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.01265, allocations: 4.375 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.01298, allocations: 103.8 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.01417, allocations: 0.7482 MB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.01451, allocations: 142.1 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.0147, allocations: 63.47 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.01473, allocations: 0 / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.01477, allocations: 45.38 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.01477, allocations: 0 / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.002052/0.01682, allocations: 0.6716 MB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.01689, allocations: 81.05 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.0182, allocations: 0.8081 MB / 386.4 MB, free: 9.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.01824, allocations: 29.7 kB / 386.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.01861, allocations: 367.2 kB / 386.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.01868, allocations: 67.44 kB / 386.8 MB, free: 9.043 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.01877, allocations: 43.36 kB / 386.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002677/0.01904, allocations: 496.4 kB / 387.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.01933, allocations: 83.95 kB / 387.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.01965, allocations: 111.5 kB / 387.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000569/0.02022, allocations: 203.2 kB / 387.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.02022, allocations: 4 kB / 387.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007687/0.02099, allocations: 293.2 kB / 388 MB, free: 7.797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.02101, allocations: 7.188 kB / 388 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.02102, allocations: 80 / 388 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.02103, allocations: 7.938 kB / 388 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.02129, allocations: 55.83 kB / 388.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.0213, allocations: 3.984 kB / 388.1 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.02147, allocations: 23.98 kB / 388.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.02149, allocations: 4 kB / 388.1 MB, free: 7.699 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 0.0001886/0.02168, allocations: 188.4 kB / 388.3 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.0218, allocations: 63.58 kB / 388.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008404/0.02264, allocations: 314.6 kB / 388.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.02264, allocations: 8 kB / 388.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.02265, allocations: 3.938 kB / 388.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.02265, allocations: 0 / 388.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.02434, allocations: 0.9338 MB / 389.6 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.02434, allocations: 7.984 kB / 389.6 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.02457, allocations: 51.91 kB / 389.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.02457, allocations: 0 / 389.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.02459, allocations: 4 kB / 389.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.02459, allocations: 4 kB / 389.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.02459, allocations: 0 / 389.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009008/0.02549, allocations: 0.5571 MB / 390.2 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.02569, allocations: 75.55 kB / 390.3 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.02574, allocations: 4 kB / 390.3 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.02595, allocations: 19.97 kB / 390.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.02604, allocations: 23.97 kB / 390.4 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.02605, allocations: 4 kB / 390.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006987/0.02675, allocations: 0.5185 MB / 390.9 MB, free: 4.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02675, allocations: 0 / 390.9 MB, free: 4.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.02712, allocations: 71.88 kB / 391 MB, free: 4.785 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.002869/0.02999, allocations: 427.2 kB / 391.4 MB, free: 4.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007374/0.03073, allocations: 211.5 kB / 391.6 MB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.03073, allocations: 0 / 391.6 MB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.03106, allocations: 123.6 kB / 391.7 MB, free: 4.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.03172, allocations: 96.98 kB / 391.8 MB, free: 4.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.0332, allocations: 0.8728 MB / 392.7 MB, free: 3.172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.03353, allocations: 268.3 kB / 392.9 MB, free: 2.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002053/0.03374, allocations: 71.52 kB / 393 MB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.03387, allocations: 44.5 kB / 393 MB, free: 2.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03387, allocations: 0 / 393 MB, free: 2.77 MB / 362.7 MB Notification: Performance of Templates: time 0.01239/0.04626, allocations: 5.427 MB / 398.5 MB, free: 13.39 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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: 5.30548132408876]