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.001053/0.001053, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001201/0.001201, allocations: 166.9 kB / 25.61 MB, free: 8.898 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 1.028/1.028, allocations: 177 MB / 205.9 MB, free: 4.445 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.1485/0.1485, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.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.583e-06/1.583e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.744e-05, allocations: 2.312 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002341/0.002359, allocations: 1.988 MB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.003296, allocations: 0.8092 MB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.003386, allocations: 4 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.003813, allocations: 171.4 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.004209, allocations: 226.9 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.004793, allocations: 399.1 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.005095, allocations: 315 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.005226, allocations: 40.89 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.005372, allocations: 163.5 kB / 384.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.005518, allocations: 155.6 kB / 384.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.005545, allocations: 12 kB / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.748e-05/0.005623, allocations: 47.94 kB / 384.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.005752, allocations: 175.4 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.005814, allocations: 91.58 kB / 384.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.006074, allocations: 330.7 kB / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.006076, allocations: 3.938 kB / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006077, allocations: 0 / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.006083, allocations: 4 kB / 384.9 MB, free: 17.82 MB / 314.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.0006399/0.006723, allocations: 0.856 MB / 385.8 MB, free: 16.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.006764, allocations: 12.03 kB / 385.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.006831, allocations: 72.52 kB / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.007072, allocations: 361.2 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.007084, allocations: 8.375 kB / 386.2 MB, free: 16.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.007106, allocations: 16.31 kB / 386.2 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.007267, allocations: 131.2 kB / 386.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.007279, allocations: 192 / 386.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.00729, allocations: 8.375 kB / 386.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.007297, allocations: 384 / 386.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.007344, allocations: 34.42 kB / 386.4 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.007778, allocations: 0.5847 MB / 387 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.007882, allocations: 98.14 kB / 387.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.00791, allocations: 27.36 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.007931, allocations: 8.125 kB / 387.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.007945, allocations: 37.39 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.007946, allocations: 0 / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005782/0.008524, allocations: 317.3 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.00855, allocations: 77.11 kB / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.008896, allocations: 0.722 MB / 388.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.008907, allocations: 25.7 kB / 388.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.009042, allocations: 363 kB / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.009083, allocations: 63.42 kB / 388.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.00913, allocations: 43.34 kB / 388.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.009179, allocations: 484.4 kB / 389.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.009212, allocations: 19.98 kB / 389.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.49e-05/0.009257, allocations: 54.23 kB / 389.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.536e-05/0.009332, allocations: 75.56 kB / 389.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.009333, allocations: 0 / 389.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001625/0.009496, allocations: 177.1 kB / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.009507, allocations: 8 kB / 389.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.009512, allocations: 0 / 389.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.009524, allocations: 0 / 389.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.009655, allocations: 47.97 kB / 389.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.009659, allocations: 7.938 kB / 389.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.26e-05/0.009732, allocations: 19.97 kB / 389.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.009741, allocations: 4 kB / 389.6 MB, free: 12.87 MB / 314.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 7.939e-05/0.00982, allocations: 168.5 kB / 389.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.00988, allocations: 71.58 kB / 389.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.01009, allocations: 194.9 kB / 390 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.01009, allocations: 0 / 390 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01009, allocations: 4 kB / 390 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.0101, allocations: 3.938 kB / 390 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.01054, allocations: 0.6609 MB / 390.7 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01054, allocations: 4 kB / 390.7 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.697e-05/0.01064, allocations: 47.95 kB / 390.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01064, allocations: 0 / 390.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01066, allocations: 11.94 kB / 390.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01066, allocations: 7.938 kB / 390.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01066, allocations: 0 / 390.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.01085, allocations: 442.5 kB / 391.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.01089, allocations: 55.61 kB / 391.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.01091, allocations: 7.938 kB / 391.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.01101, allocations: 19.98 kB / 391.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.01106, allocations: 23.95 kB / 391.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.01107, allocations: 4 kB / 391.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002031/0.01127, allocations: 458.8 kB / 391.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01127, allocations: 0 / 391.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.0115, allocations: 60 kB / 391.8 MB, free: 10.59 MB / 314.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.000742/0.01224, allocations: 383.9 kB / 392.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.01239, allocations: 75.58 kB / 392.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01239, allocations: 4 kB / 392.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/0.01245, allocations: 59.58 kB / 392.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.01284, allocations: 106.1 kB / 392.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007318/0.01357, allocations: 0.8278 MB / 393.3 MB, free: 9.238 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.515e-05/0.01365, allocations: 145.2 kB / 393.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000103/0.01375, allocations: 63.22 kB / 393.5 MB, free: 9.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.01389, allocations: 146.2 kB / 393.6 MB, free: 8.875 MB / 314.7 MB Notification: Performance of SimCode: time 1.253e-06/0.01389, allocations: 0 / 393.6 MB, free: 8.875 MB / 314.7 MB Notification: Performance of Templates: time 0.007375/0.02127, allocations: 6.019 MB / 399.6 MB, free: 2.918 MB / 314.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.646020427811891]