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.001384/0.001384, allocations: 112.1 kB / 17.09 MB, free: 5.379 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.001099/0.001099, allocations: 198.6 kB / 18.02 MB, free: 4.805 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.312/1.312, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2293/0.2293, allocations: 43.52 MB / 314.8 MB, free: 448 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.001556/0.001556, allocations: 67.91 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1069, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001666/0.1086, allocations: 490.9 kB / 0.489 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1108, allocations: 1.287 MB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.655e-05/0.1109, allocations: 0 / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.078e-05/0.1109, allocations: 3.938 kB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.079e-06/0.1109, allocations: 0 / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.1125, allocations: 0.5764 MB / 0.4908 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.536e-05/0.1125, allocations: 7.984 kB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.1126, allocations: 4 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.425e-05/0.1126, allocations: 0 / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.756e-05/0.1126, allocations: 0 / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.18e-06/0.1126, allocations: 0 / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.1253, allocations: 2.539 MB / 0.4933 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.1254, allocations: 0 / 0.4933 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.1254, allocations: 0 / 0.4933 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.1258, allocations: 159.7 kB / 0.4935 GB, free: 6.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1258, allocations: 8 kB / 0.4935 GB, free: 6.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1258, allocations: 0 / 0.4935 GB, free: 6.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1258, allocations: 0 / 0.4935 GB, free: 6.785 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.0003773/0.1262, allocations: 385.2 kB / 0.4938 GB, free: 6.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1262, allocations: 11.89 kB / 0.4938 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.1263, allocations: 0.9375 kB / 0.4938 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/0.1264, allocations: 164.4 kB / 0.494 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1264, allocations: 384 / 0.494 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.1264, allocations: 384 / 0.494 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.374e-05/0.1265, allocations: 45.77 kB / 0.494 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1265, allocations: 0 / 0.494 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1265, allocations: 0 / 0.494 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1265, allocations: 0 / 0.494 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.206e-05/0.1266, allocations: 4 kB / 0.494 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.1267, allocations: 149.6 kB / 0.4942 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.676e-05/0.1267, allocations: 14.67 kB / 0.4942 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.1268, allocations: 8.859 kB / 0.4942 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.1268, allocations: 7.938 kB / 0.4942 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.1268, allocations: 64.2 kB / 0.4943 GB, free: 5.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1268, allocations: 0 / 0.4943 GB, free: 5.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000162/0.127, allocations: 63.39 kB / 0.4943 GB, free: 5.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.1271, allocations: 77.11 kB / 0.4944 GB, free: 5.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.912e-05/0.1271, allocations: 89.86 kB / 0.4945 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1271, allocations: 29.7 kB / 0.4945 GB, free: 5.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.1272, allocations: 84.27 kB / 0.4946 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.1272, allocations: 0 / 0.4946 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.1272, allocations: 13.72 kB / 0.4946 GB, free: 5.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1273, allocations: 322.8 kB / 0.4949 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.1274, allocations: 0 / 0.4949 GB, free: 5.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.1274, allocations: 3.938 kB / 0.4949 GB, free: 5.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.1274, allocations: 64.25 kB / 0.495 GB, free: 4.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1274, allocations: 0 / 0.495 GB, free: 4.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.975e-05/0.1275, allocations: 67.47 kB / 0.4951 GB, free: 4.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.1276, allocations: 33.64 kB / 0.4951 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1276, allocations: 0 / 0.4951 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.1276, allocations: 3.938 kB / 0.4951 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.185e-06/0.1276, allocations: 0 / 0.4951 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.1277, allocations: 7.984 kB / 0.4951 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.1277, allocations: 0 / 0.4951 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1277, allocations: 0 / 0.4951 GB, free: 4.832 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 8.894e-05/0.1278, allocations: 135.5 kB / 0.4952 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.1278, allocations: 11.97 kB / 0.4952 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.388e-05/0.1278, allocations: 3.125 kB / 0.4952 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1278, allocations: 3.938 kB / 0.4953 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1278, allocations: 0 / 0.4953 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.1279, allocations: 77.11 kB / 0.4953 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1279, allocations: 3.984 kB / 0.4953 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.1279, allocations: 7.984 kB / 0.4953 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.128, allocations: 0 / 0.4953 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001796/0.1281, allocations: 190.1 kB / 0.4955 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001845/0.1283, allocations: 248.4 kB / 0.4958 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.699e-05/0.1284, allocations: 4 kB / 0.4958 GB, free: 4.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.457e-05/0.1284, allocations: 75.28 kB / 0.4958 GB, free: 4 MB / 382.1 MB Notification: Performance of Backend: time 2.81e-07/0.1284, allocations: 4 kB / 0.4958 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.1294, allocations: 432.2 kB / 0.4962 GB, free: 3.551 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003643/0.1298, allocations: 0.5833 MB / 0.4968 GB, free: 2.906 MB / 382.1 MB Notification: Performance of Templates: time 0.004929/0.1348, allocations: 2.107 MB / 0.4989 GB, free: 0.7969 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)