Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.007342/0.007342, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.001323/0.001323, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.519/1.519, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001162/0.001162, allocations: 49.28 kB / 326.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1059, allocations: 46.63 MB / 373.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003385/0.1093, allocations: 2.084 MB / 375.2 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003334/0.1097, allocations: 159.4 kB / 375.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.1098, allocations: 4 kB / 375.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.11, allocations: 27.67 kB / 375.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.1101, allocations: 51.55 kB / 375.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.1102, allocations: 43.89 kB / 375.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.1105, allocations: 179.2 kB / 375.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.1106, allocations: 70.02 kB / 375.8 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.532e-05/0.1107, allocations: 63.78 kB / 375.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.1108, allocations: 67.64 kB / 375.9 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.1109, allocations: 16 kB / 375.9 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.784e-05/0.1109, allocations: 12 kB / 375.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.111, allocations: 35.84 kB / 376 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.541e-05/0.111, allocations: 83.59 kB / 376 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1113, allocations: 183.2 kB / 376.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1113, allocations: 7.938 kB / 376.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1113, allocations: 0 / 376.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1113, allocations: 0 / 376.2 MB, free: 14.36 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.0006105/0.1119, allocations: 466.7 kB / 376.7 MB, free: 13.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1119, allocations: 8.031 kB / 376.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.112, allocations: 20.84 kB / 376.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1123, allocations: 228 kB / 376.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1123, allocations: 8.375 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.1123, allocations: 16.38 kB / 377 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.1126, allocations: 194.2 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1127, allocations: 3.938 kB / 377.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1127, allocations: 15.94 kB / 377.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1127, allocations: 8 kB / 377.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.1129, allocations: 95.88 kB / 377.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.1141, allocations: 0.9547 MB / 378.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.1143, allocations: 107.7 kB / 378.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.1143, allocations: 38.75 kB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1144, allocations: 4 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1144, allocations: 38.56 kB / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.1144, allocations: 0 / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002977/0.1147, allocations: 126 kB / 378.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.1148, allocations: 106.8 kB / 378.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.115, allocations: 207.7 kB / 378.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.115, allocations: 25.7 kB / 378.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.1151, allocations: 144.1 kB / 379 MB, free: 11.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.1151, allocations: 59.53 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.1152, allocations: 45.94 kB / 379.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1153, allocations: 326.8 kB / 379.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.1154, allocations: 40.45 kB / 379.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1155, allocations: 146.6 kB / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.1158, allocations: 205.5 kB / 379.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1158, allocations: 0 / 379.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002902/0.1161, allocations: 213.2 kB / 380 MB, free: 10.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1161, allocations: 8.344 kB / 380 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1161, allocations: 8 kB / 380 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1161, allocations: 8 kB / 380 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1163, allocations: 47.92 kB / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1163, allocations: 8 kB / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1164, allocations: 31.72 kB / 380.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1164, allocations: 8 kB / 380.1 MB, free: 10.04 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 9.828e-05/0.1165, allocations: 133.8 kB / 380.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.1166, allocations: 19.91 kB / 380.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.1167, allocations: 20.88 kB / 380.3 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1167, allocations: 4 kB / 380.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1167, allocations: 7.984 kB / 380.3 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.1167, allocations: 3.938 kB / 380.3 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.1171, allocations: 237.5 kB / 380.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1171, allocations: 7.938 kB / 380.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.1173, allocations: 35.92 kB / 380.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1173, allocations: 3.984 kB / 380.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1173, allocations: 4 kB / 380.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1173, allocations: 0 / 380.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1173, allocations: 0 / 380.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.1176, allocations: 381.9 kB / 381 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.1177, allocations: 105 kB / 381.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1177, allocations: 4.125 kB / 381.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.1179, allocations: 4 kB / 381.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.1179, allocations: 15.92 kB / 381.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1179, allocations: 0 / 381.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1181, allocations: 149.5 kB / 381.2 MB, free: 8.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1181, allocations: 4 kB / 381.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.1184, allocations: 40 kB / 381.3 MB, free: 8.785 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.0001036/0.1185, allocations: 99.27 kB / 381.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.1188, allocations: 116.9 kB / 381.5 MB, free: 8.562 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1188, allocations: 4 kB / 381.5 MB, free: 8.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.692e-05/0.1188, allocations: 35.92 kB / 381.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.1193, allocations: 31.67 kB / 381.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009308/0.1203, allocations: 0.6285 MB / 382.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1206, allocations: 0.7242 MB / 382.9 MB, free: 7.078 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.1207, allocations: 25.94 kB / 382.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1207, allocations: 15.44 kB / 383 MB, free: 7.039 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.1207, allocations: 0 / 383 MB, free: 7.039 MB / 318.1 MB Notification: Performance of Templates: time 0.003945/0.1247, allocations: 1.362 MB / 384.3 MB, free: 5.676 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)