Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001016/0.001016, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009436/0.0009436, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 0.9962/0.9962, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.2764/0.2764, allocations: 32.8 MB / 294.6 MB, free: 1.297 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.038e-05, allocations: 10.25 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002557/0.002587, allocations: 1.688 MB / 377.7 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.003365, allocations: 0.5376 MB / 378.3 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.003433, allocations: 0 / 378.3 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.003709, allocations: 103.6 kB / 378.4 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.003979, allocations: 111.5 kB / 378.5 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.004224, allocations: 99.62 kB / 378.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.004392, allocations: 91.81 kB / 378.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.004498, allocations: 27.91 kB / 378.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.004729, allocations: 55.83 kB / 378.7 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.709e-05/0.004826, allocations: 55.86 kB / 378.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.004842, allocations: 4 kB / 378.8 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.00493, allocations: 51.84 kB / 378.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.004979, allocations: 27.92 kB / 378.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.005015, allocations: 23.86 kB / 378.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.005192, allocations: 99.64 kB / 379 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.005197, allocations: 4 kB / 379 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005198, allocations: 0 / 379 MB, free: 1.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005203, allocations: 0 / 379 MB, free: 1.988 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003944/0.005597, allocations: 467.7 kB / 379.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.005633, allocations: 12.03 kB / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.005682, allocations: 20.84 kB / 379.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.005823, allocations: 156.4 kB / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.005831, allocations: 384 / 379.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.005855, allocations: 8.375 kB / 379.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.005977, allocations: 66.94 kB / 379.7 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.005988, allocations: 4.188 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.005997, allocations: 4.125 kB / 379.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.006005, allocations: 4 kB / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.006053, allocations: 23.92 kB / 379.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.006355, allocations: 323.6 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.477e-05/0.006439, allocations: 70.88 kB / 380.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.006469, allocations: 19.69 kB / 380.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.006488, allocations: 0 / 380.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.006507, allocations: 33.39 kB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.006508, allocations: 4 kB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006148/0.007123, allocations: 245.4 kB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.007153, allocations: 55.34 kB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.0073, allocations: 250.7 kB / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.007313, allocations: 29.7 kB / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.007387, allocations: 158.9 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.007421, allocations: 47.58 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.007458, allocations: 31.36 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.007566, allocations: 0.504 MB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/0.007596, allocations: 15.98 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.007623, allocations: 20 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.717e-05/0.00769, allocations: 55.67 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.007691, allocations: 4 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001205/0.007812, allocations: 109.5 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.007827, allocations: 4 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.007831, allocations: 0 / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.007843, allocations: 0 / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.979e-05/0.007933, allocations: 23.98 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.00794, allocations: 4 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.00796, allocations: 0 / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.007975, allocations: 8.047 kB / 381.7 MB, free: 15.04 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 (13): * Single equations (assignments): 13 * 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 7.731e-05/0.008052, allocations: 168.5 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.008079, allocations: 23.86 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.008263, allocations: 119 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.008268, allocations: 4 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.008272, allocations: 0 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.008276, allocations: 0 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.008618, allocations: 437.1 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008619, allocations: 0 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.008673, allocations: 27.92 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.008676, allocations: 0 / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.008686, allocations: 15.97 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.008688, allocations: 0 / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.00869, allocations: 0 / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.008836, allocations: 262.3 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.008847, allocations: 15.89 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.008863, allocations: 3.938 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.621e-05/0.008899, allocations: 4 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.00894, allocations: 19.86 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.008947, allocations: 8 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.116e-05/0.009028, allocations: 185 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009029, allocations: 0 / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.009206, allocations: 31.94 kB / 383 MB, free: 13.66 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 (13): * Single equations (assignments): 13 * 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.0009817/0.01019, allocations: 428 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.01033, allocations: 71.47 kB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01033, allocations: 0 / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.357e-05/0.01037, allocations: 47.55 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.0106, allocations: 23.92 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.01101, allocations: 276.8 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.516e-05/0.01106, allocations: 71.33 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.239e-05/0.0111, allocations: 24.41 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.01113, allocations: 16.5 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01114, allocations: 0 / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of Templates: time 0.003489/0.01463, allocations: 1.565 MB / 385.5 MB, free: 11.28 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.1380521398968995]