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.006507/0.006507, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001369/0.001369, allocations: 195.3 kB / 16.68 MB, free: 6.352 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.545/1.545, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001298/0.001298, allocations: 48.86 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.1006, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004461/0.1051, allocations: 2.084 MB / 375.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005576/0.1057, allocations: 155.4 kB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.1059, allocations: 7.938 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.1062, allocations: 35.66 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1063, allocations: 43.58 kB / 375.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.1066, allocations: 39.95 kB / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.1068, allocations: 183.2 kB / 375.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.1071, allocations: 70.02 kB / 375.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.959e-05/0.1072, allocations: 63.78 kB / 375.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1073, allocations: 71.62 kB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.1073, allocations: 16 kB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.7e-05/0.1074, allocations: 12 kB / 375.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.1074, allocations: 35.84 kB / 376 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.1075, allocations: 79.61 kB / 376 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.1078, allocations: 187.2 kB / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1078, allocations: 0 / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1078, allocations: 0 / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.1078, allocations: 4 kB / 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.0007462/0.1086, allocations: 466.7 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.1087, allocations: 11.97 kB / 376.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.1087, allocations: 28.83 kB / 376.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.1091, allocations: 212.1 kB / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1092, allocations: 16.36 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.1092, allocations: 20.38 kB / 377 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.1096, allocations: 194.1 kB / 377.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.1096, allocations: 3.938 kB / 377.2 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.1096, allocations: 8 kB / 377.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1096, allocations: 4 kB / 377.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.1098, allocations: 99.88 kB / 377.3 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.1111, allocations: 0.9547 MB / 378.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.1113, allocations: 103.9 kB / 378.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.1113, allocations: 38.56 kB / 378.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1113, allocations: 7.984 kB / 378.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.1114, allocations: 46.48 kB / 378.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.1114, allocations: 4 kB / 378.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000321/0.1117, allocations: 121.5 kB / 378.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.1118, allocations: 106.8 kB / 378.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.112, allocations: 203.8 kB / 378.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.112, allocations: 29.7 kB / 378.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.1121, allocations: 140.1 kB / 379 MB, free: 11.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1122, allocations: 59.52 kB / 379.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.1123, allocations: 45.94 kB / 379.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1124, allocations: 338.8 kB / 379.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.1125, allocations: 36.45 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1127, allocations: 146.6 kB / 379.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.1129, allocations: 193.5 kB / 379.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1129, allocations: 4 kB / 379.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003104/0.1132, allocations: 221.1 kB / 380 MB, free: 10.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1132, allocations: 4 kB / 380 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.1132, allocations: 4.703 kB / 380 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1133, allocations: 8.406 kB / 380 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1134, allocations: 51.91 kB / 380.1 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1134, allocations: 8 kB / 380.1 MB, free: 9.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1135, allocations: 31.72 kB / 380.1 MB, free: 9.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.1136, allocations: 8 kB / 380.1 MB, free: 9.906 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.284e-05/0.1137, allocations: 129.8 kB / 380.3 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.382e-05/0.1138, allocations: 19.91 kB / 380.3 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.1138, allocations: 24.92 kB / 380.3 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1138, allocations: 0 / 380.3 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.1138, allocations: 11.98 kB / 380.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1138, allocations: 7.875 kB / 380.3 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.1142, allocations: 241.4 kB / 380.6 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1143, allocations: 4 kB / 380.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.1144, allocations: 31.92 kB / 380.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1144, allocations: 0 / 380.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1144, allocations: 4 kB / 380.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1144, allocations: 0 / 380.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1144, allocations: 0 / 380.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.1147, allocations: 389.9 kB / 381 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.1148, allocations: 96.97 kB / 381.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1148, allocations: 0 / 381.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.115, allocations: 4.062 kB / 381.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.115, allocations: 15.92 kB / 381.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.115, allocations: 0 / 381.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1152, allocations: 149.5 kB / 381.2 MB, free: 8.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1152, allocations: 11.94 kB / 381.3 MB, free: 8.691 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.1155, allocations: 36 kB / 381.3 MB, free: 8.656 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.0001131/0.1156, allocations: 99.17 kB / 381.4 MB, free: 8.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1159, allocations: 108.2 kB / 381.5 MB, free: 8.441 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1159, allocations: 0.8125 kB / 381.5 MB, free: 8.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.979e-05/0.1159, allocations: 39.92 kB / 381.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.1164, allocations: 35.83 kB / 381.6 MB, free: 8.367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009179/0.1174, allocations: 0.6362 MB / 382.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1176, allocations: 0.7203 MB / 382.9 MB, free: 6.949 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.876e-05/0.1177, allocations: 21.95 kB / 383 MB, free: 6.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.1178, allocations: 15.44 kB / 383 MB, free: 6.914 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1178, allocations: 0 / 383 MB, free: 6.914 MB / 318.1 MB Notification: Performance of Templates: time 0.003703/0.1215, allocations: 1.362 MB / 384.3 MB, free: 5.551 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)