Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 113.8 kB / 17.08 MB, free: 5.945 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.001364/0.001365, allocations: 194.5 kB / 18.01 MB, free: 5.031 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.321/1.321, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2213/0.2213, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 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: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 73.78 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1014, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001629/0.103, allocations: 486 kB / 0.489 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.1054, allocations: 1.293 MB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.688e-05/0.1054, allocations: 3.938 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.1055, allocations: 0 / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.244e-06/0.1055, allocations: 0 / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.1072, allocations: 0.5726 MB / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.062e-05/0.1073, allocations: 7.938 kB / 0.4908 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.1074, allocations: 4 kB / 0.4908 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.724e-05/0.1074, allocations: 3.984 kB / 0.4908 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.314e-05/0.1074, allocations: 4 kB / 0.4908 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-06/0.1074, allocations: 0 / 0.4908 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01284/0.1203, allocations: 2.529 MB / 0.4933 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.1203, allocations: 3.984 kB / 0.4933 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.1203, allocations: 0 / 0.4933 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.1207, allocations: 163.7 kB / 0.4935 GB, free: 6.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1207, allocations: 4 kB / 0.4935 GB, free: 6.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1207, allocations: 0 / 0.4935 GB, free: 6.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1207, allocations: 0 / 0.4935 GB, free: 6.805 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003652/0.1211, allocations: 381.2 kB / 0.4938 GB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1211, allocations: 11.89 kB / 0.4938 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.1212, allocations: 4.922 kB / 0.4938 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.377e-05/0.1213, allocations: 164.4 kB / 0.494 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.1213, allocations: 384 / 0.494 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.1213, allocations: 4.375 kB / 0.494 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.1214, allocations: 37.81 kB / 0.494 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1214, allocations: 0 / 0.494 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.1214, allocations: 0 / 0.494 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1214, allocations: 0 / 0.494 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.648e-05/0.1215, allocations: 7.938 kB / 0.494 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.1216, allocations: 145.6 kB / 0.4942 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.277e-05/0.1216, allocations: 18.61 kB / 0.4942 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.1217, allocations: 12.84 kB / 0.4942 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.1217, allocations: 4 kB / 0.4942 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.1217, allocations: 60.2 kB / 0.4943 GB, free: 5.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1217, allocations: 3.938 kB / 0.4943 GB, free: 5.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001656/0.1219, allocations: 63.41 kB / 0.4943 GB, free: 5.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.122, allocations: 77.11 kB / 0.4944 GB, free: 5.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.789e-05/0.122, allocations: 97.84 kB / 0.4945 GB, free: 5.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.122, allocations: 29.7 kB / 0.4945 GB, free: 5.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.1221, allocations: 88.25 kB / 0.4946 GB, free: 5.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.1221, allocations: 0 / 0.4946 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.1221, allocations: 9.719 kB / 0.4946 GB, free: 5.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1223, allocations: 318.8 kB / 0.4949 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.1223, allocations: 0 / 0.4949 GB, free: 5.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-06/0.1223, allocations: 0 / 0.4949 GB, free: 5.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.68e-05/0.1223, allocations: 60.27 kB / 0.495 GB, free: 4.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1223, allocations: 0 / 0.495 GB, free: 4.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.642e-05/0.1224, allocations: 75.39 kB / 0.4951 GB, free: 4.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.1225, allocations: 33.64 kB / 0.4951 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1225, allocations: 3.938 kB / 0.4951 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1225, allocations: 0 / 0.4951 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-06/0.1225, allocations: 4 kB / 0.4951 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1225, allocations: 0 / 0.4951 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.1225, allocations: 0 / 0.4951 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1225, allocations: 0 / 0.4951 GB, free: 4.852 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.825e-05/0.1226, allocations: 143.5 kB / 0.4952 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.1227, allocations: 7.969 kB / 0.4952 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.243e-05/0.1227, allocations: 3.125 kB / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1227, allocations: 0 / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1227, allocations: 0 / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1227, allocations: 0 / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.925e-05/0.1228, allocations: 149.7 kB / 0.4954 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1228, allocations: 3.984 kB / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.1228, allocations: 0 / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1228, allocations: 7.938 kB / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.1228, allocations: 0 / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1228, allocations: 4 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1228, allocations: 0 / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.1229, allocations: 94.77 kB / 0.4955 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.123, allocations: 81.05 kB / 0.4956 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.123, allocations: 4 kB / 0.4956 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.123, allocations: 0 / 0.4956 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.123, allocations: 0 / 0.4956 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.123, allocations: 0 / 0.4956 GB, free: 4.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.389e-05/0.1231, allocations: 79.31 kB / 0.4957 GB, free: 4.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1231, allocations: 0 / 0.4957 GB, free: 4.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1234, allocations: 75.92 kB / 0.4957 GB, free: 4.098 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0008396/0.1242, allocations: 389.7 kB / 0.4961 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.532e-05/0.1243, allocations: 55.41 kB / 0.4961 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1243, allocations: 0 / 0.4961 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.1244, allocations: 63.33 kB / 0.4962 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.1245, allocations: 4 kB / 0.4962 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.1247, allocations: 110.8 kB / 0.4963 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.125, allocations: 0.6729 MB / 0.497 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.125, allocations: 7.438 kB / 0.497 GB, free: 2.711 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.125, allocations: 0 / 0.497 GB, free: 2.711 MB / 382.1 MB Notification: Performance of Templates: time 0.003772/0.1288, allocations: 1.993 MB / 0.4989 GB, free: 0.7148 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1)