Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.002828/0.002828, allocations: 87.67 kB / 20.21 MB, free: 4.211 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.003086/0.003086, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2446/0.2446, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.463e-05/3.705e-05, allocations: 2.312 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003101/0.003138, allocations: 1.699 MB / 348.7 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.004687, allocations: 0.7805 MB / 349.5 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.605e-05/0.004783, allocations: 3.938 kB / 349.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.005214, allocations: 95.61 kB / 349.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.00549, allocations: 75.66 kB / 349.7 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.005763, allocations: 91.69 kB / 349.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.005947, allocations: 115.6 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.006058, allocations: 8.234 kB / 349.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.006171, allocations: 67.8 kB / 349.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.006279, allocations: 47.89 kB / 350 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.006306, allocations: 7.984 kB / 350 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.006404, allocations: 47.86 kB / 350 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.006465, allocations: 23.92 kB / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.006515, allocations: 23.86 kB / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.006721, allocations: 115.6 kB / 350.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.006726, allocations: 0 / 350.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.006727, allocations: 8 kB / 350.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.006733, allocations: 0 / 350.2 MB, free: 6.508 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005357/0.007269, allocations: 459.5 kB / 350.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.007309, allocations: 12.03 kB / 350.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.007372, allocations: 12.89 kB / 350.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.007564, allocations: 156.3 kB / 350.8 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.007582, allocations: 12.3 kB / 350.8 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.007604, allocations: 4.375 kB / 350.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.00773, allocations: 50.23 kB / 350.9 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.007753, allocations: 3.938 kB / 350.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.007763, allocations: 0 / 350.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.007768, allocations: 4 kB / 350.9 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.989e-05/0.007838, allocations: 19.98 kB / 350.9 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.008156, allocations: 303.7 kB / 351.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.008317, allocations: 63.16 kB / 351.3 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.008364, allocations: 27.61 kB / 351.3 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.008383, allocations: 0 / 351.3 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.008518, allocations: 76.98 kB / 351.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.008519, allocations: 0 / 351.4 MB, free: 5.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005599/0.009079, allocations: 181.3 kB / 351.6 MB, free: 5.012 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.009111, allocations: 59.39 kB / 351.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.009263, allocations: 261.9 kB / 351.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.009275, allocations: 25.7 kB / 351.9 MB, free: 4.637 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.009338, allocations: 166.9 kB / 352.1 MB, free: 4.469 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.009368, allocations: 23.8 kB / 352.1 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.009411, allocations: 31.38 kB / 352.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.009522, allocations: 0.504 MB / 352.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.673e-05/0.009568, allocations: 20 kB / 352.6 MB, free: 3.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.009624, allocations: 39.36 kB / 352.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.00973, allocations: 71.23 kB / 352.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.009732, allocations: 8 kB / 352.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001564/0.009888, allocations: 101.6 kB / 352.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.009903, allocations: 8 kB / 352.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.009909, allocations: 0 / 352.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.009929, allocations: 3.984 kB / 352.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.678e-05/0.01003, allocations: 19.92 kB / 352.9 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.01003, allocations: 0 / 352.9 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.01008, allocations: 4.375 kB / 352.9 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.01008, allocations: 4 kB / 352.9 MB, free: 3.594 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001013/0.01019, allocations: 177.5 kB / 353.1 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.01021, allocations: 15.91 kB / 353.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.01045, allocations: 123.2 kB / 353.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01046, allocations: 3.938 kB / 353.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01046, allocations: 0 / 353.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01047, allocations: 4 kB / 353.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.01086, allocations: 417 kB / 353.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01086, allocations: 0 / 353.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.0109, allocations: 11.98 kB / 353.6 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.0109, allocations: 4 kB / 353.6 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01092, allocations: 4.031 kB / 353.6 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01092, allocations: 0 / 353.6 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.01092, allocations: 7.938 kB / 353.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.01114, allocations: 271.4 kB / 353.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.01116, allocations: 15.89 kB / 353.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.01119, allocations: 8 kB / 353.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.335e-05/0.01125, allocations: 0 / 353.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.0113, allocations: 7.984 kB / 353.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.01132, allocations: 4 kB / 354 MB, free: 2.453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.01142, allocations: 191.1 kB / 354.1 MB, free: 2.266 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01142, allocations: 0 / 354.1 MB, free: 2.266 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.01169, allocations: 31.92 kB / 354.2 MB, free: 2.234 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003283/0.01497, allocations: 498.8 kB / 354.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.01535, allocations: 67.59 kB / 354.7 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.01536, allocations: 4.062 kB / 354.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.474e-05/0.01545, allocations: 39.61 kB / 354.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.01592, allocations: 29.55 kB / 354.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.01658, allocations: 249.4 kB / 355 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.124e-05/0.01667, allocations: 96.73 kB / 355.1 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.01672, allocations: 16.86 kB / 355.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.01677, allocations: 24.48 kB / 355.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of SimCode: time 2.334e-06/0.01677, allocations: 0 / 355.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of Templates: time 0.006705/0.02348, allocations: 1.828 MB / 357 MB, free: 15.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.573522640974261]