Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001897/0.001897, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002073/0.002073, allocations: 165.3 kB / 24.28 MB, free: 152 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 1.547/1.547, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3429/0.3429, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.492e-05/3.686e-05, allocations: 5.266 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003306/0.003343, allocations: 1.611 MB / 376.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.00458, allocations: 0.5259 MB / 377.4 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.004639, allocations: 0 / 377.4 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.004892, allocations: 23.8 kB / 377.4 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.005193, allocations: 83.55 kB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.005456, allocations: 91.62 kB / 377.6 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.005612, allocations: 67.78 kB / 377.7 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.005705, allocations: 12 kB / 377.7 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.005799, allocations: 35.89 kB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.005851, allocations: 7.984 kB / 377.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.005871, allocations: 4 kB / 377.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.005947, allocations: 31.94 kB / 377.8 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.006006, allocations: 19.91 kB / 377.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.006035, allocations: 7.938 kB / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.006224, allocations: 87.66 kB / 377.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.006228, allocations: 0 / 377.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006229, allocations: 0 / 377.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.006235, allocations: 0 / 377.9 MB, free: 2.348 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005879/0.006823, allocations: 423.8 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.006864, allocations: 12.03 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.006916, allocations: 8.891 kB / 378.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.007133, allocations: 148.4 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.007143, allocations: 384 / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.007162, allocations: 384 / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.007292, allocations: 46.25 kB / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.007303, allocations: 192 / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.007317, allocations: 8.125 kB / 378.5 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.007322, allocations: 0 / 378.5 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.007404, allocations: 19.98 kB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.007831, allocations: 279.8 kB / 378.8 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.008054, allocations: 47.05 kB / 378.8 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.00811, allocations: 23.77 kB / 378.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.008132, allocations: 3.938 kB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.008165, allocations: 33.39 kB / 378.9 MB, free: 1.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.008166, allocations: 0 / 378.9 MB, free: 1.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005495/0.008715, allocations: 129.4 kB / 379 MB, free: 1.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.008763, allocations: 59.39 kB / 379.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.008976, allocations: 217.8 kB / 379.3 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.008995, allocations: 25.7 kB / 379.3 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.0091, allocations: 146.9 kB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.009127, allocations: 15.91 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.009174, allocations: 23.38 kB / 379.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002715/0.009445, allocations: 0.5 MB / 380 MB, free: 16 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.009525, allocations: 20.03 kB / 380 MB, free: 15.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-05/0.009579, allocations: 15.94 kB / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.009691, allocations: 39.67 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.009692, allocations: 4 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001683/0.00986, allocations: 73.83 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.009876, allocations: 11.94 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.009881, allocations: 0 / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.009894, allocations: 0 / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.00996, allocations: 19.92 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.009965, allocations: 0 / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.009998, allocations: 4 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.01, allocations: 0 / 380.2 MB, free: 15.82 MB / 362.7 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 (5): * Single equations (assignments): 5 * 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.0001272/0.01013, allocations: 168.5 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.01017, allocations: 11.91 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.0104, allocations: 82.12 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.0104, allocations: 0 / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.0104, allocations: 0 / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.01042, allocations: 4 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.0109, allocations: 357.3 kB / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.0109, allocations: 0 / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.01095, allocations: 8 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01095, allocations: 4 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.01096, allocations: 0 / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01096, allocations: 4 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01096, allocations: 0 / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.01124, allocations: 231.8 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.01125, allocations: 4.234 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.01127, allocations: 256 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.963e-05/0.01133, allocations: 7.984 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.01138, allocations: 4 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.01139, allocations: 7.984 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.01153, allocations: 173.9 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01153, allocations: 0 / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.01177, allocations: 15.94 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002891/0.01466, allocations: 428.8 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.01486, allocations: 55.59 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01486, allocations: 0 / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.01493, allocations: 27.67 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.01527, allocations: 16 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.01578, allocations: 194.7 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.518e-05/0.01588, allocations: 75.33 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.01593, allocations: 19.97 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.01597, allocations: 12.5 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01597, allocations: 0 / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of Templates: time 0.004368/0.02033, allocations: 1.164 MB / 383.2 MB, free: 12.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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: 4.810537697048858]