Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008136/0.008137, allocations: 108.2 kB / 15.74 MB, free: 6.441 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.00133/0.001331, allocations: 190.9 kB / 16.67 MB, free: 6.355 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.635/1.635, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.3176/0.3176, allocations: 39.94 MB / 309.8 MB, free: 9.445 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.002036/0.002037, allocations: 67.91 kB / 435.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 56.88 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002831/0.3306, allocations: 1.693 MB / 494.4 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3318, allocations: 0.7993 MB / 495.2 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.421e-05/0.3319, allocations: 1.25 kB / 495.2 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.3323, allocations: 39.22 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.0002432/0.3325, allocations: 54.25 kB / 495.3 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.3328, allocations: 87.91 kB / 495.4 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.3329, allocations: 95.72 kB / 495.5 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.3331, allocations: 16.53 kB / 495.5 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.3331, allocations: 40.16 kB / 495.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.3332, allocations: 30.91 kB / 495.6 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3332, allocations: 3.281 kB / 495.6 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.3333, allocations: 38.38 kB / 495.6 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.3334, allocations: 26.17 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.3334, allocations: 41.28 kB / 495.7 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.3336, allocations: 114.2 kB / 495.8 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3337, allocations: 1.531 kB / 495.8 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3337, allocations: 0 / 495.8 MB, free: 17.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3337, allocations: 0 / 495.8 MB, free: 17.43 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.0004784/0.3342, allocations: 413.5 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3342, allocations: 13.42 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.3342, allocations: 9.156 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.3345, allocations: 202.4 kB / 496.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3345, allocations: 1.906 kB / 496.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.3345, allocations: 15.33 kB / 496.4 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3347, allocations: 50.62 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3347, allocations: 0 / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3347, allocations: 5.406 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3347, allocations: 3.938 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.173e-05/0.3348, allocations: 19.02 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.3351, allocations: 293.8 kB / 496.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.3353, allocations: 56.45 kB / 496.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.3353, allocations: 24.12 kB / 496.9 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3353, allocations: 1.875 kB / 496.9 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.3355, allocations: 74.14 kB / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3355, allocations: 0 / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004923/0.336, allocations: 171.5 kB / 497.1 MB, free: 16.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.336, allocations: 52.78 kB / 497.2 MB, free: 16.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3362, allocations: 189.2 kB / 497.4 MB, free: 16.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3362, allocations: 27.14 kB / 497.4 MB, free: 16.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.3363, allocations: 99.38 kB / 497.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.3363, allocations: 26.05 kB / 497.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.3363, allocations: 31.5 kB / 497.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.3364, allocations: 325.5 kB / 497.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/0.3365, allocations: 20.72 kB / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.3365, allocations: 35.56 kB / 497.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3366, allocations: 57.47 kB / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3366, allocations: 0 / 498 MB, free: 15.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000172/0.3368, allocations: 110 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3368, allocations: 5.938 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3368, allocations: 0.75 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3369, allocations: 1.969 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.337, allocations: 14.5 kB / 498.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.337, allocations: 6.344 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.337, allocations: 6.141 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.337, allocations: 2.969 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 7.545e-05/0.3371, allocations: 133.5 kB / 498.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.3372, allocations: 18.06 kB / 498.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.3372, allocations: 18.31 kB / 498.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3372, allocations: 1.781 kB / 498.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3372, allocations: 0.7969 kB / 498.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3372, allocations: 3.938 kB / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.3376, allocations: 389 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3376, allocations: 5.281 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.3376, allocations: 13.11 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3377, allocations: 1.312 kB / 498.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3377, allocations: 5.922 kB / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3377, allocations: 1.531 kB / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3377, allocations: 2.109 kB / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.3379, allocations: 200.2 kB / 498.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.3379, allocations: 84.72 kB / 499 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.338, allocations: 14.03 kB / 499 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.338, allocations: 3.266 kB / 499 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.3381, allocations: 9.922 kB / 499 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3381, allocations: 3.641 kB / 499 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.3382, allocations: 143.9 kB / 499.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3382, allocations: 0 / 499.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3385, allocations: 22.02 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.001001/0.3395, allocations: 467.4 kB / 499.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.3397, allocations: 65.16 kB / 499.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3397, allocations: 0 / 499.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.437e-05/0.3398, allocations: 33.69 kB / 499.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3401, allocations: 37.39 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.3405, allocations: 219 kB / 500 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.3407, allocations: 0.7053 MB / 0.4889 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.9e-05/0.3407, allocations: 20.59 kB / 0.489 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.3408, allocations: 17.3 kB / 0.489 GB, free: 13.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3408, allocations: 0 / 0.489 GB, free: 13.24 MB / 382.1 MB Notification: Performance of Templates: time 0.004437/0.3452, allocations: 1.699 MB / 0.4906 GB, free: 13.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)