Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009915/0.0009915, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008801/0.0008801, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9541/0.9541, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2528/0.2528, allocations: 34.26 MB / 296.1 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.803e-05, allocations: 4 kB / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.002269/0.002287, allocations: 1.881 MB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.003162, allocations: 0.7046 MB / 327.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.616e-05/0.003229, allocations: 4 kB / 327.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.003616, allocations: 175.4 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.003902, allocations: 175.2 kB / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.004297, allocations: 331.2 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.004502, allocations: 235.8 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.004622, allocations: 42.42 kB / 328.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.004748, allocations: 127.6 kB / 328.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.004876, allocations: 139.7 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.004897, allocations: 15.98 kB / 329.1 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.366e-05/0.004961, allocations: 39.92 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.833e-05/0.005049, allocations: 115.7 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.005099, allocations: 59.73 kB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.005305, allocations: 243 kB / 329.5 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.005306, allocations: 0 / 329.5 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005307, allocations: 0 / 329.5 MB, free: 3.422 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005311, allocations: 0 / 329.5 MB, free: 3.422 MB / 298.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.000483/0.005794, allocations: 0.535 MB / 330 MB, free: 2.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.005821, allocations: 12.03 kB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.005862, allocations: 32.84 kB / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.006055, allocations: 244 kB / 330.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.006065, allocations: 12.38 kB / 330.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.00609, allocations: 12.38 kB / 330.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.006254, allocations: 135.1 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.006263, allocations: 192 / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.006273, allocations: 12.12 kB / 330.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.006279, allocations: 0 / 330.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.006327, allocations: 28.97 kB / 330.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.006704, allocations: 374.9 kB / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.00681, allocations: 77.19 kB / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.006839, allocations: 21.72 kB / 331 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.006859, allocations: 7.984 kB / 331 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.00688, allocations: 38.69 kB / 331 MB, free: 1.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.01e-07/0.006881, allocations: 0 / 331 MB, free: 1.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007/0.007581, allocations: 261.1 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.007624, allocations: 81.05 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.007995, allocations: 405 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.008017, allocations: 29.7 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.008093, allocations: 141.4 kB / 331.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/0.008152, allocations: 67.64 kB / 332 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.008213, allocations: 29.7 kB / 332 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.008333, allocations: 362.6 kB / 332.4 MB, free: 384 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.008382, allocations: 12 kB / 332.4 MB, free: 372 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.008463, allocations: 41.62 kB / 332.4 MB, free: 324 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-05/0.008553, allocations: 68.48 kB / 332.5 MB, free: 248 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.008555, allocations: 4 kB / 332.5 MB, free: 244 kB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001303/0.008685, allocations: 109.6 kB / 332.6 MB, free: 128 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.008696, allocations: 4 kB / 332.6 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.0087, allocations: 0 / 332.6 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.008714, allocations: 7.984 kB / 332.6 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.008843, allocations: 47.84 kB / 332.7 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.008846, allocations: 0 / 332.7 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.00891, allocations: 28.73 kB / 332.7 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.008918, allocations: 0 / 332.7 MB, free: 40 kB / 298.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 8.853e-05/0.009007, allocations: 124.6 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.009047, allocations: 23.98 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.009234, allocations: 153 kB / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009236, allocations: 0 / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.009238, allocations: 3.938 kB / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.009243, allocations: 4 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.009656, allocations: 449.8 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.009658, allocations: 0 / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.798e-05/0.009756, allocations: 51.91 kB / 333.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.009758, allocations: 3.938 kB / 333.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.009768, allocations: 7.984 kB / 333.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.009771, allocations: 4 kB / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.009772, allocations: 0 / 333.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.009932, allocations: 285.7 kB / 333.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.009966, allocations: 39.73 kB / 333.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.009987, allocations: 3.938 kB / 333.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.01008, allocations: 23.97 kB / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.01013, allocations: 23.97 kB / 333.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.01014, allocations: 4 kB / 333.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.01028, allocations: 195.5 kB / 334.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01028, allocations: 0 / 334.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.01047, allocations: 47.94 kB / 334.1 MB, free: 14.55 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.001044/0.01152, allocations: 0.495 MB / 334.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.01165, allocations: 79.5 kB / 334.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.01166, allocations: 8 kB / 334.7 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.393e-05/0.01171, allocations: 48.77 kB / 334.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.01196, allocations: 53.61 kB / 334.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.01256, allocations: 0.5827 MB / 335.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.518e-05/0.01263, allocations: 121 kB / 335.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.485e-05/0.01272, allocations: 42.58 kB / 335.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.01283, allocations: 95.34 kB / 335.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01283, allocations: 0 / 335.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of Templates: time 0.005561/0.01839, allocations: 3.87 MB / 339.5 MB, free: 9.434 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 2.884941268712282]