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.0009071/0.0009071, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008994/0.0008994, allocations: 165 kB / 24.56 MB, free: 16 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 0.9821/0.9821, allocations: 177.1 MB / 205 MB, free: 5.285 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.2441/0.2441, allocations: 32.8 MB / 294.3 MB, free: 1.18 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.[0-9,]+.|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.[0-9,]+.|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.022e-06/1.022e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.515e-05, allocations: 9.484 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001821/0.001836, allocations: 1.638 MB / 377.7 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.00247, allocations: 0.5376 MB / 378.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.002512, allocations: 0 / 378.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.00268, allocations: 23.8 kB / 378.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.002911, allocations: 87.55 kB / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.003098, allocations: 91.62 kB / 378.4 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.003212, allocations: 67.77 kB / 378.5 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.502e-05/0.003287, allocations: 8 kB / 378.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.702e-05/0.003335, allocations: 31.91 kB / 378.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.91e-05/0.003384, allocations: 19.86 kB / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.003396, allocations: 0 / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.003463, allocations: 39.92 kB / 378.6 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.0035, allocations: 19.92 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.003522, allocations: 7.984 kB / 378.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.003641, allocations: 67.75 kB / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003642, allocations: 0 / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003643, allocations: 3.938 kB / 378.7 MB, free: 2.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.003646, allocations: 0 / 378.7 MB, free: 2.008 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.0003315/0.003978, allocations: 416.2 kB / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.00401, allocations: 8.031 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.004045, allocations: 12.83 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.004158, allocations: 140.4 kB / 379.2 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.004165, allocations: 4.375 kB / 379.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.004182, allocations: 4.375 kB / 379.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.968e-05/0.004271, allocations: 54.95 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.004279, allocations: 192 / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.004287, allocations: 4.125 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004293, allocations: 3.984 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.615e-05/0.004319, allocations: 7.984 kB / 379.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.004547, allocations: 275.8 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.004676, allocations: 43.05 kB / 379.6 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.004696, allocations: 11.69 kB / 379.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.004711, allocations: 7.938 kB / 379.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.004727, allocations: 33.39 kB / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.004727, allocations: 4 kB / 379.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002755/0.005003, allocations: 105.5 kB / 379.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.005029, allocations: 55.39 kB / 379.8 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.005127, allocations: 201.7 kB / 380 MB, free: 492 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.005135, allocations: 33.64 kB / 380.1 MB, free: 452 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.00518, allocations: 146.9 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.005194, allocations: 7.906 kB / 380.2 MB, free: 292 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.005221, allocations: 31.3 kB / 380.2 MB, free: 252 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.005332, allocations: 0.4962 MB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.005348, allocations: 7.984 kB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.288e-05/0.005361, allocations: 8 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.005393, allocations: 23.69 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.005394, allocations: 0 / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.198e-05/0.005456, allocations: 61.84 kB / 380.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.005466, allocations: 4 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.005469, allocations: 0 / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.005478, allocations: 0 / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-05/0.005515, allocations: 19.92 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.005519, allocations: 4 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.005534, allocations: 4 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.00554, allocations: 8 kB / 380.9 MB, free: 15.59 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 5.465e-05/0.005594, allocations: 156.5 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.005611, allocations: 7.953 kB / 381 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.364e-05/0.005704, allocations: 74.08 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.005705, allocations: 0 / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.005708, allocations: 0 / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005711, allocations: 0 / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.005912, allocations: 329.3 kB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005913, allocations: 0 / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.005937, allocations: 12 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.005938, allocations: 0 / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.005945, allocations: 7.984 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005946, allocations: 0 / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.005947, allocations: 0 / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.033e-05/0.006037, allocations: 211.8 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-06/0.006044, allocations: 7.953 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.006054, allocations: 0 / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.085e-05/0.006085, allocations: 4 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.006107, allocations: 3.984 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.00611, allocations: 8.188 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.43e-05/0.006164, allocations: 151.1 kB / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006164, allocations: 0 / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.006315, allocations: 19.98 kB / 381.8 MB, free: 14.54 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.0006992/0.007014, allocations: 388.7 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.209e-05/0.007086, allocations: 27.62 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.007087, allocations: 0 / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.885e-05/0.007106, allocations: 19.67 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.007287, allocations: 31.34 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.007531, allocations: 174.5 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.216e-05/0.007563, allocations: 63.34 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.408e-05/0.007587, allocations: 11.98 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.007609, allocations: 16.5 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.00761, allocations: 0 / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of Templates: time 0.002568/0.01018, allocations: 1.242 MB / 383.8 MB, free: 12.66 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.938751582056284]