Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001031/0.001031, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001016/0.001016, allocations: 161 kB / 24.56 MB, free: 20 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.9398/0.9398, 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.302/0.302, allocations: 32.8 MB / 294.3 MB, free: 1.23 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.CombiTable1Dv.Test23,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.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.76e-05, allocations: 10.25 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002288/0.002316, allocations: 1.642 MB / 377.7 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.00351, allocations: 1.278 MB / 379 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.003566, allocations: 4 kB / 379 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.003786, allocations: 27.8 kB / 379 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.00409, allocations: 87.55 kB / 379.1 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.004342, allocations: 111.6 kB / 379.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.00448, allocations: 67.83 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.004573, allocations: 19.86 kB / 379.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.004628, allocations: 27.92 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.762e-05/0.004726, allocations: 27.89 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.004742, allocations: 4 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.004884, allocations: 99.81 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.004928, allocations: 11.94 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.004957, allocations: 15.97 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.005151, allocations: 127.6 kB / 379.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.005155, allocations: 4 kB / 379.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005156, allocations: 0 / 379.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.005161, allocations: 0 / 379.6 MB, free: 1.102 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.0004746/0.005635, allocations: 428 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.005669, allocations: 8.031 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.005715, allocations: 12.89 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.005867, allocations: 144.5 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.005877, allocations: 384 / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.005903, allocations: 4.375 kB / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.006039, allocations: 104 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.006049, allocations: 192 / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.006058, allocations: 4.125 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.006065, allocations: 4 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.942e-05/0.006095, allocations: 11.94 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.006385, allocations: 271.8 kB / 380.5 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.006562, allocations: 47.11 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.006584, allocations: 15.69 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.006607, allocations: 8.016 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.006632, allocations: 41.33 kB / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.006634, allocations: 0 / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003582/0.006992, allocations: 97.41 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.007029, allocations: 81.11 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.007148, allocations: 201.5 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.007157, allocations: 25.7 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.007205, allocations: 142.9 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.007224, allocations: 15.86 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.007256, allocations: 31.36 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.007349, allocations: 0.4884 MB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.906e-05/0.007368, allocations: 7.984 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.007408, allocations: 49.27 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.83e-05/0.007446, allocations: 31.67 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007447, allocations: 0 / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.329e-05/0.007521, allocations: 61.58 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.007534, allocations: 4 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.007538, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.007552, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.248e-05/0.007595, allocations: 16.02 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007599, allocations: 4 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.007619, allocations: 3.953 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.007625, allocations: 4 kB / 381.9 MB, free: 14.53 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.761e-05/0.007683, allocations: 156.6 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.007705, allocations: 19.89 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.007821, allocations: 66.03 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007822, allocations: 0 / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.007825, allocations: 3.938 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.007829, allocations: 3.984 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.008053, allocations: 325.4 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008054, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.008088, allocations: 11.94 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.00809, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.008097, allocations: 4.188 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.0081, allocations: 4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008101, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.008203, allocations: 207.8 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.008219, allocations: 11.94 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.008231, allocations: 4 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.337e-05/0.008265, allocations: 4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.008293, allocations: 7.984 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.008296, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.579e-05/0.008352, allocations: 147.2 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008352, allocations: 0 / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001892/0.008541, allocations: 39.86 kB / 382.9 MB, free: 13.45 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.001011/0.009552, allocations: 493.8 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.009653, allocations: 31.69 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.009656, allocations: 0 / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.237e-05/0.009678, allocations: 19.67 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.009882, allocations: 25.23 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.01019, allocations: 169.8 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.119e-05/0.01023, allocations: 63.34 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.01029, allocations: 19.97 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.01032, allocations: 24.48 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.373e-06/0.01032, allocations: 0 / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.003509/0.01383, allocations: 1.83 MB / 385.6 MB, free: 10.93 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.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.373846156988293]