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.001201/0.001201, allocations: 109 kB / 16.51 MB, free: 6.707 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.001185/0.001185, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.476/1.476, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001177/0.001177, allocations: 47.94 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1168, allocations: 46.63 MB / 325.9 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004178/0.121, allocations: 2.145 MB / 328.1 MB, free: 2.738 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004131/0.1215, allocations: 159.4 kB / 328.3 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1216, allocations: 4 kB / 328.3 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.1218, allocations: 23.78 kB / 328.3 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.9e-05/0.1219, allocations: 35.69 kB / 328.3 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.1222, allocations: 35.97 kB / 328.3 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.1224, allocations: 171.2 kB / 328.5 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.1227, allocations: 62.08 kB / 328.6 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.142e-05/0.1228, allocations: 59.73 kB / 328.6 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.1229, allocations: 63.64 kB / 328.7 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.123, allocations: 16 kB / 328.7 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.992e-05/0.123, allocations: 8 kB / 328.7 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.123, allocations: 35.83 kB / 328.8 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.233e-05/0.1231, allocations: 75.61 kB / 328.8 MB, free: 2 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.1233, allocations: 171.6 kB / 329 MB, free: 1.832 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1233, allocations: 3.984 kB / 329 MB, free: 1.828 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1234, allocations: 0 / 329 MB, free: 1.828 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1234, allocations: 0 / 329 MB, free: 1.828 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.0007137/0.1241, allocations: 478.7 kB / 329.5 MB, free: 1.312 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1241, allocations: 8.031 kB / 329.5 MB, free: 1.305 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.1242, allocations: 16.75 kB / 329.5 MB, free: 1.289 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1244, allocations: 212 kB / 329.7 MB, free: 1.043 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1245, allocations: 12.38 kB / 329.7 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.1245, allocations: 24.36 kB / 329.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.1248, allocations: 186.2 kB / 329.9 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.1248, allocations: 11.92 kB / 329.9 MB, free: 0.793 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1249, allocations: 4 kB / 329.9 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1249, allocations: 4 kB / 329.9 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.1251, allocations: 95.89 kB / 330 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.1263, allocations: 0.9623 MB / 331 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.1266, allocations: 99.73 kB / 331.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.1266, allocations: 46.75 kB / 331.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.1266, allocations: 0 / 331.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1267, allocations: 38.5 kB / 331.2 MB, free: 15.42 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1267, allocations: 0 / 331.2 MB, free: 15.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003167/0.127, allocations: 133.3 kB / 331.3 MB, free: 15.28 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.1271, allocations: 110.8 kB / 331.4 MB, free: 15.15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.1273, allocations: 199.8 kB / 331.6 MB, free: 14.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1273, allocations: 25.7 kB / 331.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.1274, allocations: 139.8 kB / 331.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.1275, allocations: 47.36 kB / 331.8 MB, free: 14.72 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.1276, allocations: 49.84 kB / 331.9 MB, free: 14.67 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1277, allocations: 334.8 kB / 332.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.1278, allocations: 44.39 kB / 332.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.128, allocations: 146.6 kB / 332.4 MB, free: 14.1 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.1282, allocations: 193.5 kB / 332.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1282, allocations: 4 kB / 332.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002895/0.1285, allocations: 217.6 kB / 332.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1285, allocations: 8 kB / 332.8 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.1285, allocations: 8.078 kB / 332.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.1286, allocations: 4 kB / 332.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1287, allocations: 51.91 kB / 332.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.1287, allocations: 8.391 kB / 332.9 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1289, allocations: 35.62 kB / 332.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1289, allocations: 16 kB / 332.9 MB, free: 13.51 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.0001143/0.129, allocations: 133.7 kB / 333 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.1291, allocations: 15.81 kB / 333.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.1291, allocations: 24.86 kB / 333.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1292, allocations: 4 kB / 333.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1292, allocations: 0 / 333.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1292, allocations: 3.938 kB / 333.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.1296, allocations: 241.5 kB / 333.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1296, allocations: 4 kB / 333.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.1298, allocations: 27.98 kB / 333.4 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1298, allocations: 4 kB / 333.4 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1298, allocations: 4 kB / 333.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1298, allocations: 4 kB / 333.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1298, allocations: 0 / 333.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.1301, allocations: 389.7 kB / 333.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.1302, allocations: 92.86 kB / 333.8 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.1303, allocations: 8.188 kB / 333.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1304, allocations: 4 kB / 333.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.1304, allocations: 11.92 kB / 333.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.1304, allocations: 8 kB / 333.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1306, allocations: 145.5 kB / 334 MB, free: 12.31 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1306, allocations: 0 / 334 MB, free: 12.31 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.1309, allocations: 36 kB / 334 MB, free: 12.27 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.0001104/0.1311, allocations: 108.2 kB / 334.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1313, allocations: 103.8 kB / 334.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1313, allocations: 0 / 334.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.1313, allocations: 36.73 kB / 334.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/0.132, allocations: 23.98 kB / 334.3 MB, free: 12 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.133, allocations: 0.6816 MB / 335 MB, free: 11.29 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.1333, allocations: 0.7283 MB / 335.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.438e-05/0.1334, allocations: 13.95 kB / 335.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.1334, allocations: 23.44 kB / 335.8 MB, free: 10.49 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1334, allocations: 0 / 335.8 MB, free: 10.49 MB / 286.1 MB Notification: Performance of Templates: time 0.003893/0.1373, allocations: 1.276 MB / 337 MB, free: 9.219 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)