Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001545/0.001546, allocations: 108.4 kB / 16.62 MB, free: 6.961 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.001754/0.001754, allocations: 189.8 kB / 17.55 MB, free: 6.066 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.497/1.497, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.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.001329/0.001329, allocations: 51.92 kB / 279.5 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1117, allocations: 46.63 MB / 326.1 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003513/0.1153, allocations: 2.157 MB / 328.3 MB, free: 2.633 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003752/0.1157, allocations: 151.4 kB / 328.4 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1158, allocations: 0 / 328.4 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.116, allocations: 27.78 kB / 328.5 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.084e-05/0.1161, allocations: 47.67 kB / 328.5 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.1163, allocations: 27.98 kB / 328.5 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.1165, allocations: 183.2 kB / 328.7 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1167, allocations: 54.28 kB / 328.8 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.972e-05/0.1168, allocations: 71.72 kB / 328.8 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1169, allocations: 71.64 kB / 328.9 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.1169, allocations: 16 kB / 328.9 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.777e-05/0.117, allocations: 12 kB / 328.9 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.117, allocations: 31.91 kB / 329 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.215e-05/0.1171, allocations: 87.53 kB / 329.1 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1173, allocations: 171.6 kB / 329.2 MB, free: 1.695 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1173, allocations: 4 kB / 329.2 MB, free: 1.691 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1173, allocations: 4 kB / 329.2 MB, free: 1.688 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1173, allocations: 0 / 329.2 MB, free: 1.688 MB / 270.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.0006266/0.118, allocations: 466.7 kB / 329.7 MB, free: 1.184 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.118, allocations: 8.031 kB / 329.7 MB, free: 1.176 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.1181, allocations: 24.69 kB / 329.7 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1183, allocations: 220 kB / 329.9 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1183, allocations: 20.31 kB / 329.9 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.1184, allocations: 16.38 kB / 330 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.1187, allocations: 182.2 kB / 330.1 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1187, allocations: 3.938 kB / 330.1 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.1187, allocations: 8 kB / 330.2 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1187, allocations: 7.984 kB / 330.2 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.1189, allocations: 99.88 kB / 330.3 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.1201, allocations: 0.9584 MB / 331.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1202, allocations: 103.8 kB / 331.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.1203, allocations: 38.66 kB / 331.4 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1203, allocations: 4 kB / 331.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1203, allocations: 38.5 kB / 331.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.1204, allocations: 0 / 331.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003076/0.1207, allocations: 133.3 kB / 331.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1207, allocations: 102.8 kB / 331.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1209, allocations: 203.8 kB / 331.8 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1209, allocations: 29.7 kB / 331.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.121, allocations: 147.8 kB / 332 MB, free: 14.62 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.1211, allocations: 39.36 kB / 332 MB, free: 14.58 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.1212, allocations: 49.84 kB / 332.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1213, allocations: 330.8 kB / 332.4 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.1213, allocations: 44.39 kB / 332.5 MB, free: 14.15 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1215, allocations: 142.6 kB / 332.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.1217, allocations: 206.1 kB / 332.8 MB, free: 13.71 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1217, allocations: 3.938 kB / 332.8 MB, free: 13.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000277/0.122, allocations: 209.5 kB / 333 MB, free: 13.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.122, allocations: 16.05 kB / 333 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.122, allocations: 4 kB / 333 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1221, allocations: 7.938 kB / 333 MB, free: 13.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1222, allocations: 51.92 kB / 333.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1222, allocations: 4 kB / 333.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.1224, allocations: 31.62 kB / 333.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1224, allocations: 12 kB / 333.1 MB, free: 13.37 MB / 286.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.0001163/0.1225, allocations: 145.6 kB / 333.3 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.1226, allocations: 15.81 kB / 333.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.1226, allocations: 20.94 kB / 333.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1226, allocations: 0 / 333.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1226, allocations: 4 kB / 333.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1227, allocations: 7.922 kB / 333.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.123, allocations: 237.5 kB / 333.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1231, allocations: 3.938 kB / 333.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1232, allocations: 27.98 kB / 333.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1232, allocations: 0 / 333.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1232, allocations: 8 kB / 333.6 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1232, allocations: 3.984 kB / 333.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1233, allocations: 4 kB / 333.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.1236, allocations: 385.7 kB / 334 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.1236, allocations: 96.84 kB / 334.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1237, allocations: 4.062 kB / 334.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1238, allocations: 4 kB / 334.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.1238, allocations: 19.92 kB / 334.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1239, allocations: 4 kB / 334.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.124, allocations: 145.5 kB / 334.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.124, allocations: 0 / 334.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.1243, allocations: 36 kB / 334.3 MB, free: 12.12 MB / 286.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.0001088/0.1244, allocations: 100.2 kB / 334.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1246, allocations: 124.7 kB / 334.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1247, allocations: 0 / 334.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.783e-05/0.1247, allocations: 32.34 kB / 334.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.1253, allocations: 32.25 kB / 334.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009884/0.1263, allocations: 0.6644 MB / 335.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1266, allocations: 0.7241 MB / 335.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.698e-05/0.1267, allocations: 21.94 kB / 336 MB, free: 10.37 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.1267, allocations: 15.44 kB / 336 MB, free: 10.36 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1267, allocations: 0 / 336 MB, free: 10.36 MB / 286.1 MB Notification: Performance of Templates: time 0.003893/0.1306, allocations: 1.346 MB / 337.3 MB, free: 9.012 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)