Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001553/0.001553, allocations: 107.1 kB / 20.44 MB, free: 1.172 MB / 14.72 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.001505/0.001505, allocations: 207.4 kB / 23.73 MB, free: 4.379 MB / 14.72 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.587/1.587, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2465/0.2465, allocations: 46.96 MB / 360.9 MB, free: 4.008 MB / 286.1 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 63.89 kB / 0.4966 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3714, allocations: 66.04 MB / 0.5611 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003059/0.3745, allocations: 1.663 MB / 0.5627 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3756, allocations: 0.5309 MB / 0.5633 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.3756, allocations: 0 / 0.5633 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.3759, allocations: 71.77 kB / 0.5633 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.3762, allocations: 107.6 kB / 0.5634 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.3766, allocations: 139.3 kB / 0.5636 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.3767, allocations: 95.73 kB / 0.5636 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3769, allocations: 12.22 kB / 0.5637 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/0.3769, allocations: 47.78 kB / 0.5637 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3771, allocations: 55.81 kB / 0.5638 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.3771, allocations: 4 kB / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.3772, allocations: 55.97 kB / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.3773, allocations: 27.91 kB / 0.5638 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.3773, allocations: 27.81 kB / 0.5639 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.3775, allocations: 125.7 kB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3775, allocations: 0 / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3775, allocations: 0 / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.3775, allocations: 0 / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005415/0.3781, allocations: 353.6 kB / 0.5643 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3781, allocations: 8.031 kB / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.3782, allocations: 12.88 kB / 0.5643 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.3784, allocations: 143 kB / 0.5645 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3784, allocations: 12.38 kB / 0.5645 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3784, allocations: 4.375 kB / 0.5645 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.3786, allocations: 73.66 kB / 0.5646 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3786, allocations: 0 / 0.5646 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.3786, allocations: 0 / 0.5646 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3786, allocations: 4 kB / 0.5646 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.3788, allocations: 35.97 kB / 0.5646 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.3792, allocations: 256.3 kB / 0.5648 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.3794, allocations: 50.55 kB / 0.5649 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.975e-05/0.3795, allocations: 24.97 kB / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.3795, allocations: 0 / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.3795, allocations: 38.56 kB / 0.565 GB, free: 52 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.3795, allocations: 0 / 0.565 GB, free: 52 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001548/0.3811, allocations: 401.4 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.3812, allocations: 59.41 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.3814, allocations: 210.2 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.3815, allocations: 29.7 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.3816, allocations: 108.1 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.3816, allocations: 31.7 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.3817, allocations: 25.7 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3818, allocations: 326.8 kB / 0.5661 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.382, allocations: 39.97 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3821, allocations: 51.91 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.3824, allocations: 96.8 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3824, allocations: 0 / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003321/0.3827, allocations: 145.5 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3827, allocations: 12 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3827, allocations: 3.938 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3827, allocations: 3.938 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3829, allocations: 27.97 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3829, allocations: 3.938 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/0.3829, allocations: 11.98 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.383, allocations: 0 / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * 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.0001118/0.3831, allocations: 129.8 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.3831, allocations: 19.91 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.3835, allocations: 167.4 kB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3836, allocations: 0 / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.3836, allocations: 7.938 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3836, allocations: 0 / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007371/0.3843, allocations: 403.7 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3843, allocations: 4 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3844, allocations: 23.98 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.669e-06/0.3845, allocations: 7.875 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.3845, allocations: 8 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.3845, allocations: 4.125 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3845, allocations: 0 / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.3849, allocations: 257.2 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.3849, allocations: 19.84 kB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3849, allocations: 4 kB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.385, allocations: 7.984 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.3851, allocations: 11.98 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3851, allocations: 7.938 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.3853, allocations: 168.2 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3853, allocations: 0 / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.3855, allocations: 23.94 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001949/0.3875, allocations: 0.4904 MB / 0.5682 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003551/0.3878, allocations: 107.9 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3879, allocations: 0 / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.388, allocations: 51.91 kB / 0.5683 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.3884, allocations: 33.25 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.389, allocations: 300.7 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.3891, allocations: 109.8 kB / 0.5687 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.45e-05/0.3892, allocations: 8.5 kB / 0.5688 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.3892, allocations: 19.42 kB / 0.5688 GB, free: 12.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3892, allocations: 4 kB / 0.5688 GB, free: 12.14 MB / 414.1 MB Notification: Performance of Templates: time 0.004925/0.3942, allocations: 1.663 MB / 0.5704 GB, free: 10.49 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.352195755112916]