Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00602/0.00602, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.001291/0.001291, allocations: 197.7 kB / 16.67 MB, free: 5.965 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.488 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.3629/0.3629, allocations: 39.94 MB / 309.8 MB, free: 9.344 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.001579/0.001579, allocations: 72.45 kB / 435.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4067, allocations: 56.88 MB / 492.7 MB, free: 19.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003728/0.4105, allocations: 1.655 MB / 494.4 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.412, allocations: 0.7828 MB / 495.2 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.4121, allocations: 0 / 495.2 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.4125, allocations: 65.56 kB / 495.2 MB, free: 17.82 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.0002564/0.4128, allocations: 68.69 kB / 495.3 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.413, allocations: 78.77 kB / 495.4 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.4132, allocations: 94.42 kB / 495.5 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.98e-05/0.4133, allocations: 13.66 kB / 495.5 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.4134, allocations: 51.05 kB / 495.5 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.4135, allocations: 42.91 kB / 495.6 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.4136, allocations: 7.25 kB / 495.6 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.451e-05/0.4137, allocations: 30.91 kB / 495.6 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.4137, allocations: 17.66 kB / 495.6 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.4138, allocations: 32.73 kB / 495.7 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.4141, allocations: 103.4 kB / 495.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4141, allocations: 0 / 495.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4141, allocations: 1.844 kB / 495.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4141, allocations: 0 / 495.8 MB, free: 17.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007377/0.4149, allocations: 397.1 kB / 496.1 MB, free: 17.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.4149, allocations: 14.92 kB / 496.2 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.415, allocations: 12.41 kB / 496.2 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.4153, allocations: 210.3 kB / 496.4 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4154, allocations: 1.594 kB / 496.4 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.4154, allocations: 5.922 kB / 496.4 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.4156, allocations: 49.92 kB / 496.4 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.4156, allocations: 1.281 kB / 496.4 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.4156, allocations: 0.9844 kB / 496.4 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.4156, allocations: 0 / 496.4 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.389e-05/0.4157, allocations: 15.17 kB / 496.4 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.416, allocations: 183.4 kB / 496.6 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.4162, allocations: 56.45 kB / 496.7 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.986e-05/0.4162, allocations: 23.28 kB / 496.7 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.4163, allocations: 1.656 kB / 496.7 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.4165, allocations: 64.42 kB / 496.8 MB, free: 16.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.4165, allocations: 0 / 496.8 MB, free: 16.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003717/0.4169, allocations: 100.7 kB / 496.9 MB, free: 16.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.4169, allocations: 52.69 kB / 496.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.4172, allocations: 184.3 kB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.4172, allocations: 25.7 kB / 497.1 MB, free: 16.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.4172, allocations: 100.5 kB / 497.2 MB, free: 16.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.4173, allocations: 18.33 kB / 497.2 MB, free: 16.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.4173, allocations: 20.98 kB / 497.3 MB, free: 16.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4175, allocations: 325.3 kB / 497.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/0.4175, allocations: 14.14 kB / 497.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.668e-05/0.4176, allocations: 25.69 kB / 497.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.4177, allocations: 46.77 kB / 497.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4177, allocations: 5.094 kB / 497.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001687/0.4179, allocations: 79.06 kB / 497.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4179, allocations: 9.406 kB / 497.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4179, allocations: 1.625 kB / 497.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.4179, allocations: 4.938 kB / 497.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.418, allocations: 18.78 kB / 497.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.4181, allocations: 1.703 kB / 497.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.4181, allocations: 7 kB / 497.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.4181, allocations: 1.734 kB / 497.8 MB, free: 15.73 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 (7): * Single equations (assignments): 7 * 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 9.395e-05/0.4182, allocations: 125 kB / 497.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.4182, allocations: 9.594 kB / 497.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.4183, allocations: 17.53 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4183, allocations: 2.312 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/0.4183, allocations: 3.984 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4183, allocations: 3.938 kB / 497.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.4185, allocations: 186.1 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4185, allocations: 0.9375 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.4185, allocations: 2.688 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4185, allocations: 1.094 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4186, allocations: 2.375 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4186, allocations: 0.5156 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4186, allocations: 7.938 kB / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.4188, allocations: 108.6 kB / 498.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.4188, allocations: 88.39 kB / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.4189, allocations: 2.203 kB / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.555e-05/0.4189, allocations: 2.859 kB / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.4189, allocations: 2.844 kB / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.419, allocations: 4.25 kB / 498.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.4191, allocations: 146.4 kB / 498.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4191, allocations: 1.438 kB / 498.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.4193, allocations: 21.27 kB / 498.5 MB, free: 15.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009556/0.4203, allocations: 422.9 kB / 498.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.4205, allocations: 48.3 kB / 499 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4205, allocations: 0 / 499 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/0.4206, allocations: 17.81 kB / 499 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.4209, allocations: 41.78 kB / 499 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.4213, allocations: 195.6 kB / 499.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.4215, allocations: 0.6975 MB / 499.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.38e-05/0.4216, allocations: 15.42 kB / 499.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.4216, allocations: 14.39 kB / 499.9 MB, free: 13.85 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4216, allocations: 4 kB / 500 MB, free: 13.84 MB / 382.1 MB Notification: Performance of Templates: time 0.005733/0.4273, allocations: 1.487 MB / 0.4897 GB, free: 13.67 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)