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.001188/0.001188, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001262/0.001262, allocations: 168.3 kB / 24.81 MB, free: 9.27 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 1.118/1.118, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.3975/0.3975, allocations: 34.27 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 179] 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.465e-06/2.465e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.331e-05/3.578e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003574/0.00361, allocations: 2.002 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.005007, allocations: 0.7904 MB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.005164, allocations: 4 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006028/0.005767, allocations: 179.2 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004992/0.006266, allocations: 223 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007617/0.007028, allocations: 403.1 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.007429, allocations: 307 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.007593, allocations: 48.89 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.007821, allocations: 159.5 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.008012, allocations: 159.6 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.008042, allocations: 16 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.008159, allocations: 39.94 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.00832, allocations: 171.5 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.734e-05/0.008407, allocations: 95.58 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.008792, allocations: 334.6 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.008796, allocations: 4 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.008798, allocations: 0 / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.008804, allocations: 0 / 383.4 MB, free: 13.46 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.000855/0.009659, allocations: 0.8677 MB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.00971, allocations: 8.031 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.109e-05/0.009801, allocations: 72.52 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.01013, allocations: 361.2 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.01014, allocations: 8.375 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.01017, allocations: 12.38 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.01077, allocations: 133.1 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.01078, allocations: 4.188 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.01079, allocations: 12.11 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.0108, allocations: 8 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.398e-05/0.01086, allocations: 31.84 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.01147, allocations: 0.5886 MB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.01161, allocations: 94.14 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.01165, allocations: 31.36 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.01169, allocations: 12.05 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.01171, allocations: 37.39 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.01171, allocations: 0 / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006891/0.0124, allocations: 320.7 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.01244, allocations: 77.11 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.01296, allocations: 0.7141 MB / 386.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.01298, allocations: 25.7 kB / 386.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.01319, allocations: 363 kB / 387.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.376e-05/0.01324, allocations: 55.53 kB / 387.2 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.0133, allocations: 43.34 kB / 387.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.01344, allocations: 484.4 kB / 387.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.01348, allocations: 19.98 kB / 387.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.01354, allocations: 53.36 kB / 387.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.26e-05/0.01363, allocations: 75.28 kB / 387.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01363, allocations: 224 / 387.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001925/0.01383, allocations: 169.3 kB / 388 MB, free: 8.582 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.01384, allocations: 7.938 kB / 388 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01385, allocations: 0 / 388 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01386, allocations: 7.938 kB / 388 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.014, allocations: 51.91 kB / 388.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.014, allocations: 0 / 388.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.489e-05/0.01408, allocations: 27.91 kB / 388.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.01409, allocations: 8 kB / 388.1 MB, free: 8.48 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.0001031/0.01419, allocations: 164.6 kB / 388.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.01426, allocations: 67.52 kB / 388.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.01452, allocations: 195 kB / 388.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.01452, allocations: 7.938 kB / 388.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01452, allocations: 0 / 388.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.01453, allocations: 0 / 388.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.01516, allocations: 0.6656 MB / 389.2 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.01516, allocations: 4 kB / 389.2 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.01527, allocations: 47.95 kB / 389.3 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.01528, allocations: 3.938 kB / 389.3 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.0153, allocations: 12 kB / 389.3 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.0153, allocations: 0 / 389.3 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.0153, allocations: 0 / 389.3 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.01563, allocations: 442.5 kB / 389.7 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.01569, allocations: 59.55 kB / 389.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.01572, allocations: 8 kB / 389.8 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.01583, allocations: 19.98 kB / 389.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.0159, allocations: 27.94 kB / 389.8 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.01591, allocations: 4 kB / 389.8 MB, free: 6.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003151/0.01622, allocations: 454.8 kB / 390.3 MB, free: 6.262 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01622, allocations: 0 / 390.3 MB, free: 6.262 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.01651, allocations: 67.88 kB / 390.3 MB, free: 6.195 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.000939/0.01745, allocations: 384.1 kB / 390.7 MB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.01764, allocations: 75.58 kB / 390.8 MB, free: 5.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.01764, allocations: 0 / 390.8 MB, free: 5.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.588e-05/0.01771, allocations: 59.73 kB / 390.8 MB, free: 5.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.01815, allocations: 101.3 kB / 390.9 MB, free: 5.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.01915, allocations: 0.8244 MB / 391.8 MB, free: 4.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.01926, allocations: 149.1 kB / 391.9 MB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.01939, allocations: 67.22 kB / 392 MB, free: 4.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/0.0199, allocations: 138.2 kB / 392.1 MB, free: 4.488 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01991, allocations: 0 / 392.1 MB, free: 4.488 MB / 362.7 MB Notification: Performance of Templates: time 0.01023/0.03014, allocations: 5.885 MB / 398 MB, free: 14.7 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.7831005258485675]