Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001547/0.001547, allocations: 76.58 kB / 19.93 MB, free: 1.781 MB / 14.72 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.001989/0.001989, allocations: 166.4 kB / 23.21 MB, free: 4.906 MB / 14.72 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.587/1.587, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 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.2275/0.2275, allocations: 32.38 MB / 269.6 MB, free: 4.66 MB / 254.1 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.069e-05, allocations: 2.281 kB / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003664/0.003694, allocations: 1.802 MB / 409.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.005479, allocations: 0.8659 MB / 410.1 MB, free: 256 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.00558, allocations: 7.938 kB / 410.1 MB, free: 248 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006105/0.00619, allocations: 259.2 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.006582, allocations: 187.3 kB / 410.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.006976, allocations: 154.9 kB / 410.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.007316, allocations: 247.2 kB / 410.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.007423, allocations: 21.77 kB / 411 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.007658, allocations: 147.6 kB / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.007916, allocations: 183.6 kB / 411.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.007951, allocations: 8 kB / 411.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.008064, allocations: 51.92 kB / 411.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.008168, allocations: 63.77 kB / 411.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.601e-05/0.008254, allocations: 47.73 kB / 411.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.008619, allocations: 223.1 kB / 411.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.008624, allocations: 0 / 411.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.008625, allocations: 0 / 411.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.008632, allocations: 0 / 411.7 MB, free: 14.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008214/0.009453, allocations: 496.4 kB / 412.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.009496, allocations: 8.031 kB / 412.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.018e-05/0.009576, allocations: 36.7 kB / 412.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.009967, allocations: 217.8 kB / 412.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.009989, allocations: 12.31 kB / 412.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.01002, allocations: 4.375 kB / 412.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.01027, allocations: 95.92 kB / 412.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01028, allocations: 7.875 kB / 412.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.0103, allocations: 0 / 412.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.0103, allocations: 4 kB / 412.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.01045, allocations: 43.95 kB / 412.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.011, allocations: 400.6 kB / 413 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.01133, allocations: 121.2 kB / 413.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.01144, allocations: 45.7 kB / 413.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.01146, allocations: 0 / 413.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.0117, allocations: 117 kB / 413.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.01171, allocations: 0 / 413.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001022/0.01273, allocations: 388.5 kB / 413.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.01279, allocations: 85.11 kB / 413.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/0.01332, allocations: 493.6 kB / 414.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.01335, allocations: 25.7 kB / 414.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.01349, allocations: 160.4 kB / 414.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.01355, allocations: 55.58 kB / 414.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.01361, allocations: 37.64 kB / 414.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.0138, allocations: 354.7 kB / 414.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.01391, allocations: 35.98 kB / 414.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.01404, allocations: 75.41 kB / 414.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.0143, allocations: 131.5 kB / 415 MB, free: 11.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01431, allocations: 0 / 415 MB, free: 11.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003731/0.01468, allocations: 189.3 kB / 415.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.01469, allocations: 8 kB / 415.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.0147, allocations: 0 / 415.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.01471, allocations: 0 / 415.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.01486, allocations: 35.92 kB / 415.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01487, allocations: 4.062 kB / 415.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.659e-05/0.01496, allocations: 11.98 kB / 415.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.01497, allocations: 11.94 kB / 415.3 MB, free: 10.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001808/0.01515, allocations: 173.7 kB / 415.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.0152, allocations: 35.75 kB / 415.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000498/0.0157, allocations: 224.4 kB / 415.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.0157, allocations: 4 kB / 415.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.01571, allocations: 0 / 415.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01571, allocations: 0 / 415.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008825/0.0166, allocations: 0.5927 MB / 416.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.0166, allocations: 0.75 kB / 416.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.01667, allocations: 27.92 kB / 416.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.01668, allocations: 3.984 kB / 416.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.0167, allocations: 4 kB / 416.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.0167, allocations: 4 kB / 416.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.0167, allocations: 7.938 kB / 416.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.01721, allocations: 384.2 kB / 416.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.01725, allocations: 35.77 kB / 416.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.01729, allocations: 8 kB / 416.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.01744, allocations: 11.98 kB / 416.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.0175, allocations: 11.92 kB / 416.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.01753, allocations: 15.98 kB / 416.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004156/0.01795, allocations: 359.1 kB / 417.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01795, allocations: 0 / 417.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003619/0.01831, allocations: 47.92 kB / 417.2 MB, free: 8.812 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00195/0.02026, allocations: 499.9 kB / 417.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.02059, allocations: 119.8 kB / 417.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02059, allocations: 0 / 417.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.02074, allocations: 60.17 kB / 417.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.0213, allocations: 57.52 kB / 417.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009309/0.02223, allocations: 0.5446 MB / 418.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.02244, allocations: 169.4 kB / 418.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.079e-05/0.02252, allocations: 29.61 kB / 418.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.02259, allocations: 32.48 kB / 418.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.02259, allocations: 0 / 418.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of Templates: time 0.007688/0.03028, allocations: 2.913 MB / 421.6 MB, free: 4.465 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.362276259809732]