Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.0009522/0.0009522, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001136/0.001136, allocations: 166.9 kB / 24.84 MB, free: 8.914 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 0.9706/0.9706, allocations: 158.6 MB / 186.7 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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.1342/0.1342, allocations: 32.38 MB / 271.5 MB, free: 14.62 MB / 266.7 MB " [Timeout remaining time 180] 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.094e-05, allocations: 6.25 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001947/0.001968, allocations: 1.725 MB / 350.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008215/0.002789, allocations: 0.7882 MB / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.002856, allocations: 7.938 kB / 351.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.003118, allocations: 51.75 kB / 351.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.003295, allocations: 59.75 kB / 351.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.003471, allocations: 95.56 kB / 351.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.00359, allocations: 95.7 kB / 351.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.6e-05/0.003666, allocations: 4.234 kB / 351.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.925e-05/0.003735, allocations: 51.81 kB / 351.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.003799, allocations: 23.92 kB / 351.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.003815, allocations: 8 kB / 351.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.519e-05/0.00388, allocations: 47.91 kB / 351.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.003923, allocations: 27.86 kB / 352 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.003951, allocations: 19.94 kB / 352 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.004083, allocations: 115.5 kB / 352.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004084, allocations: 0 / 352.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004085, allocations: 0 / 352.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.004089, allocations: 0 / 352.1 MB, free: 5.961 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.0002985/0.004387, allocations: 475.6 kB / 352.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.004416, allocations: 8.031 kB / 352.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.004446, allocations: 16.84 kB / 352.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.004549, allocations: 160.4 kB / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.004561, allocations: 384 / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.004575, allocations: 4.359 kB / 352.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.843e-05/0.004654, allocations: 66.88 kB / 352.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004661, allocations: 3.938 kB / 352.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.004667, allocations: 0 / 352.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.004671, allocations: 0 / 352.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.215e-05/0.004693, allocations: 15.94 kB / 352.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.004872, allocations: 272.4 kB / 353.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.822e-05/0.00494, allocations: 47.17 kB / 353.2 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.004957, allocations: 19.69 kB / 353.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.004967, allocations: 0 / 353.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.639e-05/0.005034, allocations: 72.91 kB / 353.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.005035, allocations: 0 / 353.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000276/0.005311, allocations: 141.4 kB / 353.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.005329, allocations: 55.41 kB / 353.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.005419, allocations: 265.3 kB / 353.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.455e-06/0.005427, allocations: 25.7 kB / 353.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.005465, allocations: 170.8 kB / 353.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.005487, allocations: 31.73 kB / 353.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.005512, allocations: 31.36 kB / 353.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.005557, allocations: 0.5001 MB / 354.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.00557, allocations: 7.984 kB / 354.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.005591, allocations: 27.38 kB / 354.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.00563, allocations: 51.28 kB / 354.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.005631, allocations: 4 kB / 354.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.935e-05/0.005711, allocations: 89.53 kB / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.005722, allocations: 12.03 kB / 354.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.005726, allocations: 0 / 354.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.005733, allocations: 0 / 354.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.005788, allocations: 19.98 kB / 354.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.00579, allocations: 0 / 354.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.005817, allocations: 4 kB / 354.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.005822, allocations: 4 kB / 354.7 MB, free: 3.184 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 4.62e-05/0.005869, allocations: 162.8 kB / 354.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.005884, allocations: 27.77 kB / 354.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.005987, allocations: 95.14 kB / 354.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.005988, allocations: 4 kB / 354.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.00599, allocations: 0 / 354.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005993, allocations: 7.922 kB / 355 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.006193, allocations: 369.6 kB / 355.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.006195, allocations: 384 / 355.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.006221, allocations: 15.92 kB / 355.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.006223, allocations: 0 / 355.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.006229, allocations: 8 kB / 355.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.00623, allocations: 0 / 355.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.006231, allocations: 0 / 355.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.925e-05/0.00632, allocations: 259.4 kB / 355.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.006331, allocations: 11.91 kB / 355.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.006346, allocations: 4 kB / 355.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.102e-05/0.006387, allocations: 4 kB / 355.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.006409, allocations: 7.984 kB / 355.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.00642, allocations: 4 kB / 355.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.896e-05/0.006469, allocations: 184.4 kB / 355.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006469, allocations: 0 / 355.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001637/0.006633, allocations: 31.92 kB / 355.8 MB, free: 1.934 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.000844/0.007477, allocations: 429.4 kB / 356.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.007587, allocations: 55.52 kB / 356.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.00759, allocations: 4 kB / 356.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.00762, allocations: 31.59 kB / 356.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.007853, allocations: 35.78 kB / 356.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.00817, allocations: 249.6 kB / 356.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.83e-05/0.008198, allocations: 72.27 kB / 356.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.137e-05/0.008229, allocations: 20.61 kB / 356.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.008282, allocations: 94.19 kB / 356.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008282, allocations: 0 / 356.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of Templates: time 0.003496/0.01178, allocations: 2.049 MB / 358.9 MB, free: 14.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.275979239027947]