Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008145/0.008145, allocations: 102.6 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 192 kB / 16.67 MB, free: 6.379 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.648/1.648, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.3794/0.3794, allocations: 39.94 MB / 309.8 MB, free: 9.508 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.001588/0.001588, allocations: 79.89 kB / 435.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3601, allocations: 56.87 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003451/0.3636, allocations: 1.684 MB / 494.4 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3651, allocations: 0.8089 MB / 495.2 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.3652, allocations: 0 / 495.2 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.3656, allocations: 43.53 kB / 495.3 MB, free: 17.7 MB / 382.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.0002589/0.3659, allocations: 49.75 kB / 495.3 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.3661, allocations: 84.81 kB / 495.4 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.3663, allocations: 91.36 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3665, allocations: 23.25 kB / 495.5 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.457e-05/0.3666, allocations: 42.98 kB / 495.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3667, allocations: 33.73 kB / 495.6 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.3667, allocations: 3.438 kB / 495.6 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.3669, allocations: 37.7 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.3669, allocations: 22.77 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.367, allocations: 34.02 kB / 495.7 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.3673, allocations: 110.1 kB / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3673, allocations: 1.344 kB / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3673, allocations: 0.7969 kB / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.517e-06/0.3673, allocations: 4 kB / 495.8 MB, free: 17.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006893/0.368, allocations: 420.6 kB / 496.2 MB, free: 17.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.3681, allocations: 13.84 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.3681, allocations: 9.062 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.3685, allocations: 202.3 kB / 496.4 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3686, allocations: 2.391 kB / 496.4 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.3686, allocations: 10.75 kB / 496.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.3689, allocations: 57.83 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.3689, allocations: 1.469 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.3689, allocations: 0.5156 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3689, allocations: 5.406 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.369, allocations: 21.42 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.3696, allocations: 290.7 kB / 496.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.3698, allocations: 60.38 kB / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.363e-05/0.3699, allocations: 19.94 kB / 496.9 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.37, allocations: 2.344 kB / 496.9 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.3702, allocations: 72.95 kB / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.3702, allocations: 0 / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007477/0.371, allocations: 168.2 kB / 497.1 MB, free: 16.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.371, allocations: 56.69 kB / 497.2 MB, free: 16.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.3712, allocations: 188.8 kB / 497.4 MB, free: 16.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3713, allocations: 31.02 kB / 497.4 MB, free: 16.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.3713, allocations: 99.45 kB / 497.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.3714, allocations: 25.69 kB / 497.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.3714, allocations: 22.73 kB / 497.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.3716, allocations: 326.3 kB / 497.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.34e-05/0.3716, allocations: 21.02 kB / 497.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.3717, allocations: 39.84 kB / 497.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.3718, allocations: 61.64 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3718, allocations: 0 / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.372, allocations: 97.69 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.372, allocations: 5.094 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3721, allocations: 1.438 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3721, allocations: 8.766 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.3722, allocations: 15.41 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3722, allocations: 1.688 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.3722, allocations: 11.67 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3723, allocations: 6.734 kB / 498.1 MB, free: 15.43 MB / 382.1 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 8.98e-05/0.3724, allocations: 120.4 kB / 498.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.3724, allocations: 19.16 kB / 498.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.3724, allocations: 17.28 kB / 498.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3724, allocations: 1.469 kB / 498.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3725, allocations: 5.312 kB / 498.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3725, allocations: 4.734 kB / 498.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.3729, allocations: 392.8 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3729, allocations: 5.625 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.373, allocations: 12.88 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.373, allocations: 0.5625 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.373, allocations: 7.297 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.373, allocations: 0.6562 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.373, allocations: 5.469 kB / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.3733, allocations: 196.2 kB / 498.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.3733, allocations: 85.12 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.3734, allocations: 9.812 kB / 499 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.3734, allocations: 3.312 kB / 499 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.3735, allocations: 6.016 kB / 499 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.3735, allocations: 8.234 kB / 499 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.3737, allocations: 143.7 kB / 499.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.3737, allocations: 0 / 499.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.3739, allocations: 26.53 kB / 499.2 MB, free: 14.54 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: 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 (8): * Single equations (assignments): 6 * 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.00112/0.3751, allocations: 472.5 kB / 499.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.3753, allocations: 55.69 kB / 499.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3753, allocations: 0 / 499.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.3754, allocations: 29.19 kB / 499.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3757, allocations: 41.59 kB / 499.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.3762, allocations: 227.9 kB / 500 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.3763, allocations: 0.7048 MB / 0.4889 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.183e-05/0.3764, allocations: 16.47 kB / 0.489 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.3764, allocations: 17.34 kB / 0.489 GB, free: 13.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3764, allocations: 0 / 0.489 GB, free: 13.24 MB / 382.1 MB Notification: Performance of Templates: time 0.005203/0.3816, allocations: 1.718 MB / 0.4906 GB, free: 13.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)