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.001261/0.001261, allocations: 80.34 kB / 22.21 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.00162/0.00162, allocations: 166.2 kB / 25.61 MB, free: 8.578 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.118/1.118, allocations: 177 MB / 205.9 MB, free: 4.438 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.1785/0.1785, allocations: 34.87 MB / 297.4 MB, free: 13.32 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.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 2.204e-06/2.204e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.482e-05, allocations: 3.859 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004519/0.004553, allocations: 1.88 MB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.006001, allocations: 0.6924 MB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.006192, allocations: 4 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006385/0.00683, allocations: 179.3 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006747/0.007505, allocations: 175.3 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000934/0.008439, allocations: 323.2 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000498/0.008937, allocations: 239.3 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.009154, allocations: 45.75 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.00942, allocations: 123.8 kB / 383.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.00964, allocations: 143.7 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.009676, allocations: 12 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.009829, allocations: 51.86 kB / 383.9 MB, free: 18.87 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.009972, allocations: 107.7 kB / 384 MB, free: 18.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.296e-05/0.01005, allocations: 67.7 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.01052, allocations: 243 kB / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.01053, allocations: 0 / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.01053, allocations: 0 / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.01054, allocations: 4 kB / 384.3 MB, free: 18.46 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.0009239/0.01146, allocations: 0.674 MB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.01152, allocations: 8.031 kB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.01163, allocations: 48.66 kB / 385 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.01198, allocations: 266.7 kB / 385.3 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.01201, allocations: 8.375 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.01205, allocations: 16.33 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.01234, allocations: 135.2 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.01236, allocations: 192 / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.01238, allocations: 4.375 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.01239, allocations: 8.375 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.01248, allocations: 35.84 kB / 385.5 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.01327, allocations: 0.5418 MB / 386 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.01346, allocations: 94.02 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.01351, allocations: 35.61 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.01354, allocations: 4 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.01357, allocations: 37.39 kB / 386.2 MB, free: 16.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/0.01358, allocations: 0 / 386.2 MB, free: 16.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001029/0.0146, allocations: 297 kB / 386.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.01465, allocations: 81.11 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.01506, allocations: 478.5 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.01509, allocations: 25.92 kB / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.01522, allocations: 267.1 kB / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.01529, allocations: 59.41 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.01537, allocations: 43.34 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.01549, allocations: 0.5391 MB / 387.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.01555, allocations: 19.98 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.01562, allocations: 43.34 kB / 388 MB, free: 14.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.01575, allocations: 79.28 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01575, allocations: 0 / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002859/0.01603, allocations: 146.1 kB / 388.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.01605, allocations: 8 kB / 388.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01606, allocations: 0 / 388.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.01608, allocations: 0 / 388.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.01628, allocations: 55.89 kB / 388.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.01629, allocations: 3.938 kB / 388.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.0164, allocations: 23.98 kB / 388.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.01641, allocations: 8 kB / 388.3 MB, free: 14.16 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 0.0001054/0.01652, allocations: 160.6 kB / 388.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.01661, allocations: 47.66 kB / 388.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.01696, allocations: 185.1 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.01697, allocations: 4 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.01697, allocations: 0 / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.01698, allocations: 3.938 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006905/0.01767, allocations: 0.6103 MB / 389.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.01767, allocations: 4 kB / 389.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.01783, allocations: 47.97 kB / 389.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.01784, allocations: 0 / 389.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.01786, allocations: 11.92 kB / 389.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.01786, allocations: 0 / 389.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01786, allocations: 0 / 389.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.01817, allocations: 420.7 kB / 389.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.01823, allocations: 39.73 kB / 389.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.01826, allocations: 11.94 kB / 389.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.01842, allocations: 23.98 kB / 389.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.01849, allocations: 23.95 kB / 389.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01851, allocations: 0 / 389.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.01872, allocations: 307 kB / 390.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01872, allocations: 0 / 390.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004248/0.01914, allocations: 52 kB / 390.2 MB, free: 12.16 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.0009196/0.02006, allocations: 382.7 kB / 390.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.02027, allocations: 83.52 kB / 390.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.02027, allocations: 0 / 390.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.316e-05/0.02034, allocations: 59.58 kB / 390.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.02074, allocations: 54.55 kB / 390.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.02149, allocations: 0.6018 MB / 391.4 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.02156, allocations: 116.3 kB / 391.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.02166, allocations: 42.27 kB / 391.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.0218, allocations: 118.2 kB / 391.7 MB, free: 10.81 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.0218, allocations: 0 / 391.7 MB, free: 10.81 MB / 314.7 MB Notification: Performance of Templates: time 0.006541/0.02834, allocations: 4.23 MB / 395.9 MB, free: 6.629 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.9266140679828823]