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.001876/0.001876, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.002267/0.002267, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.529/1.529, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3785/0.3785, allocations: 34.24 MB / 295.2 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.793e-06/1.793e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.92e-05, allocations: 4.703 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003673/0.003703, allocations: 1.953 MB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.005301, allocations: 0.7937 MB / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.004e-05/0.005381, allocations: 0 / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.005909, allocations: 179.4 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005067/0.006416, allocations: 227 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008716/0.007288, allocations: 399.1 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.007713, allocations: 307 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.007861, allocations: 52.89 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.008092, allocations: 159.5 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.008327, allocations: 159.6 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.008362, allocations: 12 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.008469, allocations: 43.92 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.008683, allocations: 163.5 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.008815, allocations: 99.58 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.009344, allocations: 398.5 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.009348, allocations: 4 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.009349, allocations: 0 / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.009355, allocations: 0 / 382.1 MB, free: 13.98 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.001361/0.01072, allocations: 0.7835 MB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.01075, allocations: 8.031 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.01089, allocations: 76.52 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007323/0.01162, allocations: 474.3 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.01164, allocations: 4.375 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.01168, allocations: 8.375 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.01213, allocations: 163.6 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.01215, allocations: 192 / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.01217, allocations: 8.312 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.01218, allocations: 12.3 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005218/0.0127, allocations: 131.8 kB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.0138, allocations: 0.6368 MB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.01421, allocations: 129.1 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.01447, allocations: 77.78 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.01452, allocations: 4 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.01455, allocations: 34.56 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.01456, allocations: 0 / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.002874/0.01743, allocations: 0.8153 MB / 385.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.01751, allocations: 85.05 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.01888, allocations: 1.051 MB / 386.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.01891, allocations: 29.7 kB / 386.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.01919, allocations: 284.5 kB / 386.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.525e-05/0.01927, allocations: 63.44 kB / 387 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/0.01935, allocations: 33.7 kB / 387 MB, free: 8.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.01953, allocations: 314 kB / 387.3 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.01998, allocations: 115.9 kB / 387.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.02046, allocations: 144.6 kB / 387.6 MB, free: 8.336 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/0.02133, allocations: 249.5 kB / 387.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.02133, allocations: 3.938 kB / 387.8 MB, free: 8.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001092/0.02242, allocations: 361.1 kB / 388.2 MB, free: 7.723 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.02244, allocations: 4 kB / 388.2 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.02245, allocations: 4.078 kB / 388.2 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.02247, allocations: 0 / 388.2 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.02282, allocations: 71.81 kB / 388.2 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.02284, allocations: 3.984 kB / 388.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.02308, allocations: 40.69 kB / 388.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.0231, allocations: 8 kB / 388.3 MB, free: 7.594 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.000294/0.0234, allocations: 233.6 kB / 388.5 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.02353, allocations: 71.58 kB / 388.6 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.02471, allocations: 398.5 kB / 389 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.02472, allocations: 0 / 389 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.02473, allocations: 3.938 kB / 389 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.02473, allocations: 7.984 kB / 389 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.02658, allocations: 0.8368 MB / 389.8 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02658, allocations: 0 / 389.8 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.02688, allocations: 63.88 kB / 389.9 MB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.02688, allocations: 4 kB / 389.9 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.0269, allocations: 8 kB / 389.9 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.02691, allocations: 4 kB / 389.9 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.02691, allocations: 0 / 389.9 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.02807, allocations: 0.5254 MB / 390.4 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.02821, allocations: 75.55 kB / 390.5 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.02827, allocations: 4 kB / 390.5 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.02858, allocations: 35.95 kB / 390.6 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.02867, allocations: 23.95 kB / 390.6 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.02869, allocations: 4 kB / 390.6 MB, free: 5.238 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001009/0.02969, allocations: 0.7801 MB / 391.4 MB, free: 4.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02969, allocations: 0 / 391.4 MB, free: 4.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003918/0.03009, allocations: 67.89 kB / 391.4 MB, free: 4.395 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.001959/0.03205, allocations: 425.9 kB / 391.8 MB, free: 4.125 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.03306, allocations: 259.7 kB / 392.1 MB, free: 3.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03307, allocations: 0 / 392.1 MB, free: 3.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.03356, allocations: 148 kB / 392.2 MB, free: 3.727 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006963/0.03425, allocations: 94.39 kB / 392.3 MB, free: 3.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.03593, allocations: 1.066 MB / 393.4 MB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.03628, allocations: 279.9 kB / 393.7 MB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.03651, allocations: 99.52 kB / 393.8 MB, free: 2.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.03663, allocations: 36.5 kB / 393.8 MB, free: 2.105 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.03663, allocations: 0 / 393.8 MB, free: 2.105 MB / 362.7 MB Notification: Performance of Templates: time 0.01185/0.04849, allocations: 5.466 MB / 399.3 MB, free: 12.68 MB / 378.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.06147585704457]