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.008436/0.008436, allocations: 100.9 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.001205/0.001205, allocations: 188.3 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.574/1.574, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.001161/0.001161, allocations: 54.3 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09986, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002972/0.1029, allocations: 2.08 MB / 375.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003348/0.1032, allocations: 159.4 kB / 375.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1033, allocations: 7.938 kB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.1035, allocations: 27.72 kB / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.865e-05/0.1036, allocations: 47.56 kB / 375.5 MB, free: 15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.1037, allocations: 47.89 kB / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.104, allocations: 175.2 kB / 375.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1041, allocations: 66.02 kB / 375.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.696e-05/0.1042, allocations: 71.72 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1043, allocations: 67.64 kB / 375.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1044, allocations: 16 kB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.504e-05/0.1044, allocations: 12 kB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.1044, allocations: 35.84 kB / 376 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.869e-05/0.1045, allocations: 83.59 kB / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1047, allocations: 175.4 kB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1047, allocations: 0 / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1047, allocations: 4 kB / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1047, allocations: 0 / 376.2 MB, free: 14.25 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.0005861/0.1053, allocations: 466.9 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1054, allocations: 8.031 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.1054, allocations: 16.75 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1057, allocations: 212.1 kB / 376.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1057, allocations: 16.38 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.1058, allocations: 24.28 kB / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.1061, allocations: 198.2 kB / 377.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1061, allocations: 3.938 kB / 377.1 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1061, allocations: 11.88 kB / 377.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1061, allocations: 11.98 kB / 377.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.1063, allocations: 103.9 kB / 377.3 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.1075, allocations: 0.9545 MB / 378.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1076, allocations: 99.75 kB / 378.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.1077, allocations: 38.75 kB / 378.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.1077, allocations: 0 / 378.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.1077, allocations: 46.5 kB / 378.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.1077, allocations: 0 / 378.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002978/0.108, allocations: 121.4 kB / 378.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.1081, allocations: 110.8 kB / 378.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.1083, allocations: 203.8 kB / 378.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1083, allocations: 29.7 kB / 378.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.1084, allocations: 139.8 kB / 379 MB, free: 11.19 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.1085, allocations: 51.3 kB / 379 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.1085, allocations: 49.94 kB / 379.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1087, allocations: 330.8 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.1087, allocations: 40.44 kB / 379.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1089, allocations: 154.5 kB / 379.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.1091, allocations: 194.1 kB / 379.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1091, allocations: 4 kB / 379.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003018/0.1094, allocations: 217.1 kB / 380 MB, free: 10.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1095, allocations: 4 kB / 380 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1095, allocations: 4.406 kB / 380 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1095, allocations: 8 kB / 380 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1097, allocations: 47.92 kB / 380.1 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1097, allocations: 7.984 kB / 380.1 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.1098, allocations: 35.53 kB / 380.1 MB, free: 9.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.1098, allocations: 16 kB / 380.1 MB, free: 9.93 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.837e-05/0.1099, allocations: 125.8 kB / 380.3 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.11, allocations: 15.81 kB / 380.3 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.1101, allocations: 32.86 kB / 380.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1101, allocations: 0 / 380.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1101, allocations: 4 kB / 380.3 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1101, allocations: 7.938 kB / 380.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.1105, allocations: 237.5 kB / 380.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1105, allocations: 3.938 kB / 380.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.1107, allocations: 27.98 kB / 380.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1107, allocations: 4 kB / 380.6 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1107, allocations: 4 kB / 380.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1107, allocations: 4 kB / 380.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1107, allocations: 0 / 380.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.111, allocations: 397.5 kB / 381 MB, free: 9.004 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.1111, allocations: 88.92 kB / 381.1 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1111, allocations: 8.188 kB / 381.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1113, allocations: 4 kB / 381.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.1113, allocations: 11.92 kB / 381.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.1113, allocations: 4 kB / 381.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1115, allocations: 153.5 kB / 381.2 MB, free: 8.723 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1115, allocations: 0 / 381.2 MB, free: 8.723 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.1119, allocations: 36 kB / 381.3 MB, free: 8.688 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.0001091/0.112, allocations: 103.1 kB / 381.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1122, allocations: 112.8 kB / 381.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1122, allocations: 0 / 381.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.1122, allocations: 44.12 kB / 381.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.1127, allocations: 35.66 kB / 381.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.1136, allocations: 0.6253 MB / 382.2 MB, free: 7.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.1139, allocations: 0.7203 MB / 382.9 MB, free: 6.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.391e-05/0.114, allocations: 25.94 kB / 382.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.114, allocations: 15.44 kB / 382.9 MB, free: 6.941 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.114, allocations: 0 / 382.9 MB, free: 6.941 MB / 318.1 MB Notification: Performance of Templates: time 0.003743/0.1178, allocations: 1.354 MB / 384.3 MB, free: 5.586 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)