Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001504/0.001504, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001736/0.001736, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9618/0.9618, allocations: 177.1 MB / 205 MB, free: 5.652 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.2546/0.2546, allocations: 34.26 MB / 295.7 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.CombiTable2Ds.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.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_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.954e-05, allocations: 2.312 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002769/0.002799, allocations: 2.015 MB / 380.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003852, allocations: 0.802 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.769e-05/0.00394, allocations: 4 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.00435, allocations: 175.3 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.004728, allocations: 219 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.005298, allocations: 415 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.005577, allocations: 299.1 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.005709, allocations: 52.78 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.005862, allocations: 167.5 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.006014, allocations: 147.6 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.006041, allocations: 16 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.694e-05/0.006128, allocations: 43.98 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.006255, allocations: 163.5 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.639e-05/0.006332, allocations: 99.56 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.00664, allocations: 334.6 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.006644, allocations: 3.984 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.006645, allocations: 4 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.006652, allocations: 0 / 383 MB, free: 13.67 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.0007488/0.007401, allocations: 0.8717 MB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.007436, allocations: 8.031 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.007515, allocations: 72.52 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.007862, allocations: 381.2 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.007873, allocations: 4.375 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.007907, allocations: 12.38 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.008125, allocations: 145 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.008135, allocations: 8.188 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.008148, allocations: 8.125 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.008157, allocations: 7.984 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.008229, allocations: 27.98 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006381/0.008867, allocations: 0.6974 MB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.009018, allocations: 98.16 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.009068, allocations: 35.48 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.009095, allocations: 4 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.009118, allocations: 41.33 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.00912, allocations: 4 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007988/0.009918, allocations: 495.3 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.009955, allocations: 81.11 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/0.01052, allocations: 0.7534 MB / 386.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.01054, allocations: 29.7 kB / 386.7 MB, free: 9.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.01071, allocations: 355.1 kB / 387.1 MB, free: 9.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.01075, allocations: 63.66 kB / 387.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.0108, allocations: 35.38 kB / 387.2 MB, free: 9.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.01091, allocations: 0.4886 MB / 387.7 MB, free: 8.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.01096, allocations: 23.98 kB / 387.7 MB, free: 8.723 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-05/0.01103, allocations: 53.38 kB / 387.7 MB, free: 8.664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.01114, allocations: 83.44 kB / 387.8 MB, free: 8.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01114, allocations: 3.938 kB / 387.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000215/0.01135, allocations: 177.2 kB / 388 MB, free: 8.391 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.01137, allocations: 7.984 kB / 388 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.01138, allocations: 3.938 kB / 388 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.0114, allocations: 4 kB / 388 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.01155, allocations: 47.97 kB / 388 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.01156, allocations: 0 / 388 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.01163, allocations: 23.94 kB / 388.1 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.01165, allocations: 7.984 kB / 388.1 MB, free: 8.297 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.979e-05/0.01175, allocations: 168.5 kB / 388.2 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.01182, allocations: 63.62 kB / 388.3 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.0121, allocations: 206.9 kB / 388.5 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01211, allocations: 4 kB / 388.5 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01211, allocations: 3.984 kB / 388.5 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01211, allocations: 4 kB / 388.5 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/0.01282, allocations: 0.7853 MB / 389.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01282, allocations: 0 / 389.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.01293, allocations: 47.91 kB / 389.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01293, allocations: 0 / 389.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.01295, allocations: 11.98 kB / 389.4 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01295, allocations: 0.75 kB / 389.4 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01295, allocations: 4 kB / 389.4 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.01323, allocations: 452.9 kB / 389.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.0133, allocations: 75.56 kB / 389.9 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.01332, allocations: 7.938 kB / 389.9 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.01343, allocations: 19.97 kB / 389.9 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.01349, allocations: 27.97 kB / 389.9 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.0135, allocations: 4 kB / 389.9 MB, free: 6.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003555/0.01386, allocations: 0.495 MB / 390.4 MB, free: 5.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01386, allocations: 0 / 390.4 MB, free: 5.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.01411, allocations: 63.92 kB / 390.5 MB, free: 5.801 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.0008136/0.01492, allocations: 378 kB / 390.9 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.01512, allocations: 91.58 kB / 391 MB, free: 5.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01512, allocations: 0 / 391 MB, free: 5.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.685e-05/0.0152, allocations: 59.61 kB / 391 MB, free: 5.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.01564, allocations: 106.2 kB / 391.1 MB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.01655, allocations: 0.828 MB / 392 MB, free: 4.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.081e-05/0.01664, allocations: 149.1 kB / 392.1 MB, free: 4.281 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.01675, allocations: 75.2 kB / 392.2 MB, free: 4.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.537e-05/0.01684, allocations: 40.48 kB / 392.2 MB, free: 4.164 MB / 362.7 MB Notification: Performance of SimCode: time 1.021e-06/0.01684, allocations: 0 / 392.2 MB, free: 4.164 MB / 362.7 MB Notification: Performance of Templates: time 0.008312/0.02515, allocations: 5.47 MB / 397.7 MB, free: 14.74 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.3221617373637855]