Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001451/0.001451, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001693/0.001693, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2383/0.2383, allocations: 44.94 MB / 358.8 MB, free: 6.141 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 67.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.381, allocations: 65.48 MB / 0.5575 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003445/0.3845, allocations: 1.609 MB / 0.559 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3856, allocations: 0.5193 MB / 0.5596 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.3856, allocations: 4 kB / 0.5596 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.3859, allocations: 79.7 kB / 0.5596 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.3862, allocations: 107.6 kB / 0.5597 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.3865, allocations: 87.75 kB / 0.5598 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.3867, allocations: 87.75 kB / 0.5599 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3868, allocations: 14.66 kB / 0.5599 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.982e-05/0.3869, allocations: 39.84 kB / 0.56 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.387, allocations: 63.75 kB / 0.56 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.387, allocations: 4 kB / 0.56 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3871, allocations: 43.98 kB / 0.5601 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.3872, allocations: 23.91 kB / 0.5601 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.3872, allocations: 27.8 kB / 0.5601 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3874, allocations: 95.3 kB / 0.5602 GB, free: 4.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.3874, allocations: 4 kB / 0.5602 GB, free: 4.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3874, allocations: 0 / 0.5602 GB, free: 4.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3874, allocations: 4 kB / 0.5602 GB, free: 4.672 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005736/0.388, allocations: 341.5 kB / 0.5605 GB, free: 4.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.388, allocations: 12.03 kB / 0.5605 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.3881, allocations: 20.84 kB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.3883, allocations: 143 kB / 0.5607 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3883, allocations: 8.359 kB / 0.5607 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3883, allocations: 4.375 kB / 0.5607 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3885, allocations: 53.81 kB / 0.5608 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3885, allocations: 0 / 0.5608 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.3885, allocations: 0 / 0.5608 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3885, allocations: 0 / 0.5608 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3886, allocations: 31.91 kB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.389, allocations: 240.4 kB / 0.561 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.3891, allocations: 38.56 kB / 0.5611 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.3892, allocations: 16.86 kB / 0.5611 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3892, allocations: 4.031 kB / 0.5611 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3892, allocations: 38.55 kB / 0.5611 GB, free: 3.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3892, allocations: 0 / 0.5611 GB, free: 3.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008807/0.3901, allocations: 229.6 kB / 0.5613 GB, free: 3.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.3901, allocations: 51.41 kB / 0.5614 GB, free: 3.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.3904, allocations: 206.3 kB / 0.5616 GB, free: 3.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3905, allocations: 33.7 kB / 0.5616 GB, free: 3.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.3906, allocations: 108 kB / 0.5617 GB, free: 2.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.3906, allocations: 31.73 kB / 0.5617 GB, free: 2.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.3906, allocations: 21.72 kB / 0.5618 GB, free: 2.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3908, allocations: 330.7 kB / 0.5621 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.3909, allocations: 31.98 kB / 0.5621 GB, free: 2.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-05/0.391, allocations: 23.97 kB / 0.5621 GB, free: 2.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.3911, allocations: 60.78 kB / 0.5622 GB, free: 2.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3911, allocations: 0 / 0.5622 GB, free: 2.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002331/0.3913, allocations: 109.8 kB / 0.5623 GB, free: 2.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3914, allocations: 4 kB / 0.5623 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3914, allocations: 4.078 kB / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3914, allocations: 4 kB / 0.5623 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3915, allocations: 15.98 kB / 0.5623 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3915, allocations: 3.984 kB / 0.5623 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.3915, allocations: 7.984 kB / 0.5623 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.3916, allocations: 7.938 kB / 0.5623 GB, free: 2.305 MB / 398.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 (8): * Single equations (assignments): 8 * 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.0001298/0.3917, allocations: 125.8 kB / 0.5625 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.3917, allocations: 15.91 kB / 0.5625 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.392, allocations: 119 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.392, allocations: 0 / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.392, allocations: 0 / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.392, allocations: 0 / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.3926, allocations: 346.9 kB / 0.5629 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3926, allocations: 7.984 kB / 0.5629 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.3926, allocations: 16 kB / 0.5629 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3926, allocations: 3.938 kB / 0.563 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3926, allocations: 3.984 kB / 0.563 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.3927, allocations: 7.969 kB / 0.563 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3927, allocations: 4 kB / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.3929, allocations: 200.3 kB / 0.5632 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.3929, allocations: 11.91 kB / 0.5632 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.393, allocations: 0 / 0.5632 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.393, allocations: 7.938 kB / 0.5632 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.3931, allocations: 11.98 kB / 0.5632 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3931, allocations: 0 / 0.5632 GB, free: 1.355 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.3933, allocations: 168.2 kB / 0.5633 GB, free: 1.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3933, allocations: 4 kB / 0.5634 GB, free: 1.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3935, allocations: 27.92 kB / 0.5634 GB, free: 1.16 MB / 398.1 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 (8): * Single equations (assignments): 8 * 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.001889/0.3954, allocations: 495.4 kB / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.3956, allocations: 59.97 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3957, allocations: 0 / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.255e-05/0.3957, allocations: 40.06 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3961, allocations: 18.64 kB / 0.564 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.3967, allocations: 258.7 kB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.3968, allocations: 100.7 kB / 0.5643 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.3968, allocations: 12.66 kB / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.3969, allocations: 11.44 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3969, allocations: 0 / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of Templates: time 0.004621/0.4015, allocations: 1.43 MB / 0.5657 GB, free: 14.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.292316226288676]