Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001084/0.001084, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.0009373/0.0009373, allocations: 171.3 kB / 24.82 MB, free: 9.305 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 1.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.3874/0.3874, allocations: 34.27 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.517e-05, allocations: 9.406 kB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002273/0.002298, allocations: 1.646 MB / 380.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007678/0.003066, allocations: 0.5375 MB / 380.7 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.003129, allocations: 4 kB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.003388, allocations: 111.7 kB / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.003651, allocations: 119.6 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.003895, allocations: 115.5 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.004042, allocations: 87.8 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.66e-05/0.004118, allocations: 11.98 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.949e-05/0.004188, allocations: 55.81 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.004275, allocations: 63.92 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.004287, allocations: 8 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.497e-05/0.004362, allocations: 47.86 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.004403, allocations: 31.84 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.004426, allocations: 11.94 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.004567, allocations: 103.6 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.00457, allocations: 0 / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.004571, allocations: 0 / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.004575, allocations: 0 / 381.5 MB, free: 15.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003193/0.004894, allocations: 455.8 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.004928, allocations: 8.031 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.004956, allocations: 16.84 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.005068, allocations: 161.2 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-06/0.005074, allocations: 384 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.005088, allocations: 8.375 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.074e-05/0.005158, allocations: 50.95 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.005165, allocations: 192 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-06/0.005171, allocations: 4.125 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.005174, allocations: 0 / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.005195, allocations: 19.92 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.005427, allocations: 268.3 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.741e-05/0.005474, allocations: 47.03 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.005489, allocations: 15.69 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.005506, allocations: 3.984 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.005526, allocations: 41.41 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.005527, allocations: 0 / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003719/0.005899, allocations: 157.3 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.005923, allocations: 51.41 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.006052, allocations: 259 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.006061, allocations: 29.7 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.006117, allocations: 170.8 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.006139, allocations: 27.73 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.006169, allocations: 27.36 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.006283, allocations: 0.504 MB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.006298, allocations: 7.984 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.006311, allocations: 8 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.006344, allocations: 31.67 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.006347, allocations: 3.938 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.936e-05/0.006416, allocations: 81.52 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.006426, allocations: 4 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.006429, allocations: 4 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.006437, allocations: 432 / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.006486, allocations: 12 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.006489, allocations: 4 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.006508, allocations: 7.984 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.006513, allocations: 4 kB / 383.9 MB, free: 12.74 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 (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 5.991e-05/0.006573, allocations: 156.5 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.006595, allocations: 19.91 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.0067, allocations: 95.34 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006702, allocations: 0 / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.006704, allocations: 7.938 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.006706, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.006957, allocations: 353.6 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.006959, allocations: 0 / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.006993, allocations: 12 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.006995, allocations: 0 / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.007, allocations: 4 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.007002, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.007004, allocations: 3.984 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.007116, allocations: 239.4 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.007126, allocations: 15.94 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.007136, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.16e-05/0.007168, allocations: 4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.007188, allocations: 11.98 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.007193, allocations: 4 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.831e-05/0.007261, allocations: 175.1 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007261, allocations: 0 / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000153/0.007414, allocations: 23.94 kB / 385 MB, free: 11.56 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 (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.0008455/0.008259, allocations: 436.5 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.429e-05/0.008334, allocations: 43.64 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.008336, allocations: 4 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.00836, allocations: 23.62 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.008561, allocations: 26.86 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.008864, allocations: 253.8 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.993e-05/0.008904, allocations: 71.33 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.505e-05/0.008939, allocations: 20.77 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.008992, allocations: 82.2 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008992, allocations: 0 / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Templates: time 0.002892/0.01188, allocations: 1.56 MB / 387.5 MB, free: 9.168 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.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.3532831873744726]