Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.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) 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(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006805/0.006805, allocations: 102.1 kB / 15.73 MB, free: 6.051 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.001534/0.001535, allocations: 195.7 kB / 16.67 MB, free: 5.98 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.577/1.577, allocations: 205.1 MB / 222.6 MB, free: 4.402 MB / 174.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.001412/0.001412, allocations: 49.61 kB / 326.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.1005, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003168/0.1037, allocations: 2.084 MB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00034/0.1041, allocations: 155.4 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.1042, allocations: 4 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.1043, allocations: 31.66 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.398e-05/0.1044, allocations: 55.55 kB / 375.5 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.1046, allocations: 43.89 kB / 375.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.1048, allocations: 179.2 kB / 375.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.105, allocations: 70 kB / 375.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.663e-05/0.1051, allocations: 59.8 kB / 375.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1052, allocations: 71.62 kB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.1052, allocations: 16 kB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.374e-05/0.1052, allocations: 12 kB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.1053, allocations: 35.84 kB / 376 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.1054, allocations: 79.61 kB / 376 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.1056, allocations: 179.4 kB / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1056, allocations: 4 kB / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1056, allocations: 0 / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1056, allocations: 0 / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006406/0.1063, allocations: 470.8 kB / 376.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1063, allocations: 8.031 kB / 376.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.1064, allocations: 16.75 kB / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1067, allocations: 220.1 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1067, allocations: 8.375 kB / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.1067, allocations: 24.28 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.107, allocations: 194.1 kB / 377.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1071, allocations: 3.938 kB / 377.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.1071, allocations: 8 kB / 377.1 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1071, allocations: 8 kB / 377.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.1073, allocations: 103.9 kB / 377.3 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.1085, allocations: 0.9584 MB / 378.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1086, allocations: 103.8 kB / 378.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.1087, allocations: 38.66 kB / 378.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.1087, allocations: 4 kB / 378.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1088, allocations: 38.56 kB / 378.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1088, allocations: 0 / 378.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002948/0.1091, allocations: 121.4 kB / 378.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.1091, allocations: 110.8 kB / 378.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1093, allocations: 207.7 kB / 378.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1093, allocations: 29.7 kB / 378.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.1094, allocations: 139.8 kB / 379 MB, free: 11.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.1095, allocations: 55.3 kB / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.1095, allocations: 45.94 kB / 379.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1097, allocations: 330.8 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/0.1097, allocations: 36.45 kB / 379.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.1099, allocations: 142.6 kB / 379.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.1101, allocations: 202 kB / 379.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1101, allocations: 0 / 379.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002723/0.1104, allocations: 217.1 kB / 380 MB, free: 10.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1104, allocations: 8.344 kB / 380 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1104, allocations: 11.98 kB / 380 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1104, allocations: 8 kB / 380 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1106, allocations: 43.92 kB / 380.1 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.1106, allocations: 11.94 kB / 380.1 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1107, allocations: 35.53 kB / 380.1 MB, free: 9.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1107, allocations: 8 kB / 380.1 MB, free: 9.914 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001062/0.1109, allocations: 129.8 kB / 380.2 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.1109, allocations: 19.8 kB / 380.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.111, allocations: 28.94 kB / 380.3 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.111, allocations: 0 / 380.3 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.111, allocations: 0 / 380.3 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.111, allocations: 11.88 kB / 380.3 MB, free: 9.715 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.1114, allocations: 237.5 kB / 380.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1114, allocations: 4 kB / 380.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.1116, allocations: 27.98 kB / 380.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1116, allocations: 3.938 kB / 380.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1116, allocations: 4 kB / 380.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1116, allocations: 4 kB / 380.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1116, allocations: 3.984 kB / 380.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.1119, allocations: 381.8 kB / 381 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.112, allocations: 96.91 kB / 381.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.112, allocations: 0 / 381.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1122, allocations: 4.062 kB / 381.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.1122, allocations: 15.86 kB / 381.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.1122, allocations: 8.125 kB / 381.1 MB, free: 8.855 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1124, allocations: 149.5 kB / 381.2 MB, free: 8.711 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1124, allocations: 3.938 kB / 381.2 MB, free: 8.707 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003766/0.1127, allocations: 40 kB / 381.3 MB, free: 8.668 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.0001293/0.1129, allocations: 95.25 kB / 381.4 MB, free: 8.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1131, allocations: 112.5 kB / 381.5 MB, free: 8.453 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1131, allocations: 4.062 kB / 381.5 MB, free: 8.449 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.548e-05/0.1132, allocations: 39.92 kB / 381.5 MB, free: 8.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.1137, allocations: 28.38 kB / 381.5 MB, free: 8.383 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009273/0.1146, allocations: 0.625 MB / 382.2 MB, free: 7.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1149, allocations: 0.7242 MB / 382.9 MB, free: 6.973 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.115, allocations: 21.94 kB / 382.9 MB, free: 6.953 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.115, allocations: 19.38 kB / 382.9 MB, free: 6.934 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.115, allocations: 0 / 382.9 MB, free: 6.934 MB / 318.1 MB Notification: Performance of Templates: time 0.003791/0.1188, allocations: 1.378 MB / 384.3 MB, free: 5.555 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)