Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00633/0.00633, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001565/0.001565, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3463/0.3463, allocations: 39.95 MB / 309.8 MB, free: 9.242 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.001493/0.001493, allocations: 75.89 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4159, allocations: 56.88 MB / 492.7 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003586/0.4196, allocations: 1.68 MB / 494.4 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.4211, allocations: 0.8087 MB / 495.2 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.4212, allocations: 0 / 495.2 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.4216, allocations: 46.42 kB / 495.3 MB, free: 17.67 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.0002466/0.4219, allocations: 55.28 kB / 495.3 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.4221, allocations: 84.94 kB / 495.4 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.4223, allocations: 94.17 kB / 495.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.4225, allocations: 20.23 kB / 495.5 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.4226, allocations: 45.36 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.4227, allocations: 30.67 kB / 495.6 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.4227, allocations: 3.406 kB / 495.6 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.4228, allocations: 43.28 kB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.4229, allocations: 19.14 kB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.4229, allocations: 41.06 kB / 495.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.4232, allocations: 115.9 kB / 495.8 MB, free: 17.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4232, allocations: 2.734 kB / 495.8 MB, free: 17.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4232, allocations: 0 / 495.8 MB, free: 17.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.4232, allocations: 0 / 495.8 MB, free: 17.4 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.0005614/0.4238, allocations: 420.9 kB / 496.2 MB, free: 16.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4238, allocations: 14.02 kB / 496.2 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.4239, allocations: 9.875 kB / 496.2 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.4242, allocations: 217.1 kB / 496.4 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.4242, allocations: 1.812 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.4242, allocations: 10.28 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.4244, allocations: 49.97 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.4245, allocations: 0 / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.4245, allocations: 5.984 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4245, allocations: 0 / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.4246, allocations: 22.69 kB / 496.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.4251, allocations: 287.4 kB / 496.8 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.4254, allocations: 55.67 kB / 496.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.4254, allocations: 21.31 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.4255, allocations: 3.938 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.4257, allocations: 70.73 kB / 497 MB, free: 16.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.4257, allocations: 1.625 kB / 497 MB, free: 16.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007826/0.4265, allocations: 167.5 kB / 497.1 MB, free: 16.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.4266, allocations: 53.38 kB / 497.2 MB, free: 16.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.4269, allocations: 198.2 kB / 497.4 MB, free: 16.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4269, allocations: 31.05 kB / 497.4 MB, free: 16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.427, allocations: 108.8 kB / 497.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.427, allocations: 21.45 kB / 497.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.4271, allocations: 29.86 kB / 497.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4273, allocations: 325.6 kB / 497.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.4274, allocations: 22.91 kB / 497.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.4275, allocations: 34.02 kB / 497.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.4276, allocations: 62.98 kB / 498 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4276, allocations: 0 / 498 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002145/0.4279, allocations: 109.6 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4279, allocations: 6.25 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4279, allocations: 4.156 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.4279, allocations: 1.406 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.4281, allocations: 15.33 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4281, allocations: 5.453 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.4282, allocations: 7.234 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.4282, allocations: 6.562 kB / 498.2 MB, free: 15.38 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 0.0001147/0.4283, allocations: 130.3 kB / 498.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.4283, allocations: 9.594 kB / 498.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.4284, allocations: 15.23 kB / 498.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4284, allocations: 1.312 kB / 498.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4284, allocations: 1.188 kB / 498.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.4284, allocations: 8.531 kB / 498.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.4289, allocations: 390.6 kB / 498.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4289, allocations: 1.5 kB / 498.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.429, allocations: 13.42 kB / 498.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.429, allocations: 4.703 kB / 498.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.429, allocations: 11.5 kB / 498.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.429, allocations: 0 / 498.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.429, allocations: 1.625 kB / 498.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.4293, allocations: 201.9 kB / 498.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.4293, allocations: 86.48 kB / 499 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.4294, allocations: 15.84 kB / 499 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.4294, allocations: 2.766 kB / 499 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.4295, allocations: 9.922 kB / 499 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.4295, allocations: 4.641 kB / 499 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.4297, allocations: 149.5 kB / 499.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4297, allocations: 1.25 kB / 499.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.43, allocations: 26.03 kB / 499.2 MB, free: 14.49 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.001084/0.4311, allocations: 471.6 kB / 499.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.4313, allocations: 63.56 kB / 499.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4313, allocations: 0 / 499.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.4314, allocations: 29.02 kB / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.4317, allocations: 34.44 kB / 499.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.4323, allocations: 234.1 kB / 0.4883 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.4325, allocations: 0.703 MB / 0.489 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.4325, allocations: 21.2 kB / 0.489 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.4326, allocations: 17.02 kB / 0.489 GB, free: 13.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4326, allocations: 0 / 0.489 GB, free: 13.19 MB / 382.1 MB Notification: Performance of Templates: time 0.005511/0.4381, allocations: 1.724 MB / 0.4907 GB, free: 12.99 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)