Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.0009517/0.0009517, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009637/0.0009637, allocations: 160.9 kB / 25.61 MB, free: 8.902 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.8748/0.8748, allocations: 177.1 MB / 206 MB, free: 4.5 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.1323/0.1323, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 3.938 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.192e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.001582/0.001594, allocations: 1.629 MB / 380.9 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008947/0.002488, allocations: 1.278 MB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.002536, allocations: 0 / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.00271, allocations: 27.67 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.002914, allocations: 87.55 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.003088, allocations: 111.7 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.955e-05/0.003187, allocations: 75.77 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.987e-05/0.003257, allocations: 11.84 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.003303, allocations: 31.92 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.00338, allocations: 31.89 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.003391, allocations: 0 / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.003486, allocations: 91.81 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.003518, allocations: 11.94 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.003538, allocations: 19.92 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.00369, allocations: 131.5 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003691, allocations: 4 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003692, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.003695, allocations: 4 kB / 382.8 MB, free: 19.84 MB / 314.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.0002657/0.003961, allocations: 428 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.633e-05/0.003987, allocations: 8.031 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.004017, allocations: 8.891 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.004116, allocations: 144.4 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.004124, allocations: 4.375 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.004138, allocations: 4.375 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.19e-05/0.00422, allocations: 96.03 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.004229, allocations: 192 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.004235, allocations: 8.125 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.00424, allocations: 7.984 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.004258, allocations: 4 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.004432, allocations: 256.3 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.908e-05/0.004531, allocations: 39.05 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.004543, allocations: 15.69 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.004555, allocations: 0 / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.004568, allocations: 37.33 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.004569, allocations: 4 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002257/0.004794, allocations: 85.64 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.004814, allocations: 89.03 kB / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.004879, allocations: 192.1 kB / 384.2 MB, free: 18.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-06/0.004884, allocations: 25.7 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.00491, allocations: 150.7 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.004924, allocations: 19.84 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.004948, allocations: 23.38 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.559e-05/0.004983, allocations: 0.4884 MB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-06/0.004992, allocations: 4 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.005012, allocations: 53.25 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.005037, allocations: 23.69 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.005038, allocations: 4.031 kB / 385 MB, free: 17.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.402e-05/0.005092, allocations: 65.52 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.005101, allocations: 4 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.005104, allocations: 0 / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.034e-06/0.005111, allocations: 0 / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.2e-05/0.005143, allocations: 8 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005146, allocations: 4 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.005165, allocations: 3.984 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.005169, allocations: 8 kB / 385.1 MB, free: 17.32 MB / 314.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 3.222e-05/0.005202, allocations: 156.6 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.005223, allocations: 15.89 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.005295, allocations: 70.06 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005297, allocations: 4 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.005298, allocations: 0 / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.0053, allocations: 0 / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.005449, allocations: 294 kB / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005449, allocations: 0 / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.005474, allocations: 15.98 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.11e-07/0.005475, allocations: 0 / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-06/0.005479, allocations: 288 / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.00548, allocations: 192 / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005481, allocations: 8 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.656e-05/0.005547, allocations: 211.8 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.005555, allocations: 7.938 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.005565, allocations: 3.984 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.41e-05/0.005599, allocations: 8 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.005617, allocations: 0 / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.005619, allocations: 4 kB / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.959e-05/0.005649, allocations: 152.6 kB / 386 MB, free: 16.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005649, allocations: 0 / 386 MB, free: 16.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.005822, allocations: 39.86 kB / 386.1 MB, free: 16.29 MB / 314.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.0008341/0.006657, allocations: 494.4 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.929e-05/0.006726, allocations: 31.61 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006727, allocations: 0 / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-05/0.006744, allocations: 23.67 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.006925, allocations: 30.77 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001941/0.007119, allocations: 155.9 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.956e-05/0.007139, allocations: 63.2 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.214e-05/0.007171, allocations: 11.94 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.00722, allocations: 94.17 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.00722, allocations: 0 / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of Templates: time 0.002818/0.01004, allocations: 2.051 MB / 389 MB, free: 13.49 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.8610670627094805]