Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4475/0.4475, allocations: 39.94 MB / 309.7 MB, free: 9.305 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 67.89 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1909, allocations: 56.89 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004197/0.1952, allocations: 1.774 MB / 436.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.1977, allocations: 1.478 MB / 437.8 MB, free: 408 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1978, allocations: 7.938 kB / 437.8 MB, free: 400 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.1983, allocations: 43.7 kB / 437.8 MB, free: 356 kB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.1986, allocations: 91.53 kB / 437.9 MB, free: 264 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.1989, allocations: 143.6 kB / 438 MB, free: 120 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.1992, allocations: 183.5 kB / 438.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.1993, allocations: 17.55 kB / 438.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1995, allocations: 67.66 kB / 438.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.1997, allocations: 79.61 kB / 438.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.1998, allocations: 4 kB / 438.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.1999, allocations: 63.97 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.2, allocations: 27.91 kB / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.2001, allocations: 59.61 kB / 438.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.2004, allocations: 175.7 kB / 438.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.2004, allocations: 0 / 438.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2005, allocations: 4 kB / 438.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.2005, allocations: 0 / 438.7 MB, free: 15.44 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009643/0.2014, allocations: 466.6 kB / 439.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.2015, allocations: 11.89 kB / 439.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.9e-05/0.2016, allocations: 16.75 kB / 439.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.202, allocations: 243.6 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.202, allocations: 4.375 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.202, allocations: 8.125 kB / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.2023, allocations: 101.1 kB / 439.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2024, allocations: 4 kB / 439.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.2024, allocations: 0 / 439.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2024, allocations: 7.984 kB / 439.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.2025, allocations: 35.91 kB / 439.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.2028, allocations: 210.5 kB / 439.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.2031, allocations: 105.2 kB / 439.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.2032, allocations: 41.64 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.2033, allocations: 4 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/0.2036, allocations: 113 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.2036, allocations: 0 / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005172/0.2042, allocations: 165.4 kB / 440.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.2043, allocations: 136.5 kB / 440.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.2046, allocations: 223.7 kB / 440.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.2046, allocations: 25.7 kB / 440.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.2047, allocations: 116.1 kB / 440.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.2048, allocations: 31.62 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.2048, allocations: 25.72 kB / 440.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.205, allocations: 330.8 kB / 441.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.918e-05/0.2051, allocations: 27.98 kB / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.2052, allocations: 69.14 kB / 441.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.2054, allocations: 91.34 kB / 441.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2054, allocations: 0 / 441.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002649/0.2057, allocations: 138 kB / 441.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2057, allocations: 4 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.2057, allocations: 8 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.2058, allocations: 0 / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2059, allocations: 27.92 kB / 441.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2059, allocations: 0 / 441.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.206, allocations: 15.89 kB / 441.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.206, allocations: 4 kB / 441.5 MB, free: 12.38 MB / 382.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001341/0.2062, allocations: 133.8 kB / 441.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.2062, allocations: 19.8 kB / 441.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.2063, allocations: 17 kB / 441.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2063, allocations: 4 kB / 441.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.2063, allocations: 0 / 441.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2063, allocations: 3.938 kB / 441.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.2065, allocations: 221.5 kB / 441.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2065, allocations: 0 / 441.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.2066, allocations: 8 kB / 441.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2066, allocations: 0 / 441.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2066, allocations: 8 kB / 441.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2066, allocations: 0 / 441.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2066, allocations: 3.984 kB / 441.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.207, allocations: 169.6 kB / 442 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.207, allocations: 92.92 kB / 442.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.2071, allocations: 4 kB / 442.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.345e-05/0.2071, allocations: 11.98 kB / 442.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.2072, allocations: 8 kB / 442.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.2072, allocations: 12.02 kB / 442.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.2074, allocations: 161.4 kB / 442.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2074, allocations: 0 / 442.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.2077, allocations: 39.98 kB / 442.4 MB, free: 11.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001063/0.2088, allocations: 446.5 kB / 442.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.2091, allocations: 87.89 kB / 442.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2091, allocations: 0 / 442.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.2092, allocations: 40.3 kB / 442.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.2096, allocations: 70.36 kB / 443 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.2102, allocations: 264 kB / 443.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.2105, allocations: 0.7124 MB / 444 MB, free: 9.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.309e-05/0.2106, allocations: 33.5 kB / 444 MB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.2107, allocations: 31.42 kB / 444 MB, free: 9.688 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2107, allocations: 7.938 kB / 444 MB, free: 9.68 MB / 382.1 MB Notification: Performance of Templates: time 0.00625/0.217, allocations: 2.617 MB / 446.6 MB, free: 7.066 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1)