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.001126/0.001127, allocations: 87 kB / 16.65 MB, free: 6.535 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.001346/0.001346, allocations: 176.2 kB / 17.56 MB, free: 6.18 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.597/1.597, allocations: 205.4 MB / 223.7 MB, free: 12.99 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.0008649/0.000865, allocations: 8 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1273, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002208/0.1295, allocations: 1.795 MB / 330.1 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003081/0.1299, allocations: 155.4 kB / 330.3 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.352e-05/0.13, allocations: 8 kB / 330.3 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.998e-05/0.1301, allocations: 19.86 kB / 330.3 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.595e-05/0.1302, allocations: 43.61 kB / 330.3 MB, free: 1.723 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.1303, allocations: 35.97 kB / 330.4 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.1305, allocations: 171.2 kB / 330.5 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1307, allocations: 54.14 kB / 330.6 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.668e-05/0.1307, allocations: 51.8 kB / 330.6 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.974e-05/0.1308, allocations: 63.64 kB / 330.7 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.1309, allocations: 8 kB / 330.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.469e-05/0.1309, allocations: 8 kB / 330.7 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.1309, allocations: 23.92 kB / 330.7 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.008e-05/0.131, allocations: 105.2 kB / 330.8 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1312, allocations: 167.6 kB / 331 MB, free: 1.035 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1312, allocations: 4 kB / 331 MB, free: 1.031 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.1312, allocations: 0 / 331 MB, free: 1.031 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1312, allocations: 3.938 kB / 331 MB, free: 1.027 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.0005537/0.1318, allocations: 438.6 kB / 331.4 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1318, allocations: 8.031 kB / 331.4 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.1319, allocations: 28.69 kB / 331.5 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.1321, allocations: 216 kB / 331.7 MB, free: 272 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1322, allocations: 12.38 kB / 331.7 MB, free: 260 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.1322, allocations: 20.38 kB / 331.7 MB, free: 240 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.1325, allocations: 186.2 kB / 331.9 MB, free: 32 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1325, allocations: 11.84 kB / 331.9 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1325, allocations: 8 kB / 331.9 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1325, allocations: 4 kB / 331.9 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1327, allocations: 95.95 kB / 332 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.1339, allocations: 0.9545 MB / 333 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.134, allocations: 103.8 kB / 333.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.1341, allocations: 38.58 kB / 333.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.1341, allocations: 4 kB / 333.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1341, allocations: 38.64 kB / 333.2 MB, free: 14.65 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.1341, allocations: 0 / 333.2 MB, free: 14.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002717/0.1344, allocations: 129.3 kB / 333.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.1345, allocations: 106.8 kB / 333.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1347, allocations: 207.8 kB / 333.6 MB, free: 14.17 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1347, allocations: 25.7 kB / 333.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/0.1348, allocations: 147.8 kB / 333.8 MB, free: 13.99 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.1348, allocations: 51.25 kB / 333.8 MB, free: 13.94 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.1349, allocations: 25.72 kB / 333.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.135, allocations: 334.8 kB / 334.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-05/0.1351, allocations: 36.45 kB / 334.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1352, allocations: 146.6 kB / 334.3 MB, free: 13.35 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.1354, allocations: 197.5 kB / 334.5 MB, free: 13.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.1354, allocations: 4 kB / 334.5 MB, free: 13.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003118/0.1358, allocations: 209.3 kB / 334.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1358, allocations: 8 kB / 334.7 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1358, allocations: 4 kB / 334.7 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1358, allocations: 4 kB / 334.8 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.136, allocations: 59.91 kB / 334.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.136, allocations: 7.938 kB / 334.8 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1361, allocations: 35.56 kB / 334.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1361, allocations: 12 kB / 334.9 MB, free: 12.76 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.0001177/0.1363, allocations: 138 kB / 335 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.1363, allocations: 15.81 kB / 335 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.1364, allocations: 21.62 kB / 335 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1364, allocations: 4 kB / 335 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1364, allocations: 0 / 335 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1364, allocations: 3.938 kB / 335 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.1368, allocations: 241.6 kB / 335.3 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1368, allocations: 3.938 kB / 335.3 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.137, allocations: 31.92 kB / 335.3 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.137, allocations: 4 kB / 335.3 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.137, allocations: 7.984 kB / 335.3 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.137, allocations: 4 kB / 335.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.137, allocations: 0 / 335.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.1373, allocations: 389.6 kB / 335.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.1374, allocations: 96.92 kB / 335.8 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.1374, allocations: 4 kB / 335.8 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1376, allocations: 8 kB / 335.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.1376, allocations: 15.86 kB / 335.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1376, allocations: 4 kB / 335.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.1378, allocations: 145.5 kB / 336 MB, free: 11.55 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1378, allocations: 0 / 336 MB, free: 11.55 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.1381, allocations: 40 kB / 336 MB, free: 11.51 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.0001192/0.1382, allocations: 100.2 kB / 336.1 MB, free: 11.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1385, allocations: 111.8 kB / 336.2 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1385, allocations: 0 / 336.2 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.1385, allocations: 31.92 kB / 336.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.1391, allocations: 27.98 kB / 336.3 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1401, allocations: 0.7706 MB / 337.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1404, allocations: 0.7245 MB / 337.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.707e-05/0.1405, allocations: 17.95 kB / 337.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.1405, allocations: 15.44 kB / 337.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1406, allocations: 3.938 kB / 337.8 MB, free: 9.648 MB / 286.1 MB Notification: Performance of Templates: time 0.003645/0.1442, allocations: 1.265 MB / 339.1 MB, free: 8.387 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)