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.009156/0.009156, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001685/0.001685, allocations: 188.5 kB / 16.67 MB, free: 6.367 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.577/1.577, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001206/0.001206, allocations: 57.38 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1104, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003798/0.1143, allocations: 2.076 MB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003666/0.1146, allocations: 167.4 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1148, allocations: 4 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.1149, allocations: 35.59 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.927e-05/0.115, allocations: 39.58 kB / 375.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.1152, allocations: 47.94 kB / 375.5 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.1155, allocations: 179.2 kB / 375.7 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.1157, allocations: 58.03 kB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.1158, allocations: 67.77 kB / 375.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1159, allocations: 71.64 kB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.116, allocations: 12 kB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.132e-05/0.116, allocations: 20 kB / 375.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.116, allocations: 35.84 kB / 376 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.045e-05/0.1161, allocations: 79.61 kB / 376 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1164, allocations: 183.2 kB / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1164, allocations: 0 / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1164, allocations: 0 / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1164, allocations: 0 / 376.2 MB, free: 14.24 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.0006294/0.117, allocations: 470.6 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1171, allocations: 12.03 kB / 376.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.1171, allocations: 24.84 kB / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1174, allocations: 220 kB / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1175, allocations: 12.38 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.1175, allocations: 24.36 kB / 377 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.1179, allocations: 190.1 kB / 377.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.1179, allocations: 11.92 kB / 377.2 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.1179, allocations: 4 kB / 377.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1179, allocations: 4 kB / 377.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.1181, allocations: 99.88 kB / 377.3 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.1194, allocations: 0.9547 MB / 378.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1196, allocations: 99.75 kB / 378.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.1196, allocations: 46.75 kB / 378.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.1196, allocations: 0 / 378.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1197, allocations: 38.56 kB / 378.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.1197, allocations: 3.938 kB / 378.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003103/0.12, allocations: 125.5 kB / 378.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.1201, allocations: 102.8 kB / 378.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1203, allocations: 211.8 kB / 378.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1203, allocations: 29.7 kB / 378.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.1204, allocations: 144.1 kB / 379 MB, free: 11.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.1204, allocations: 55.53 kB / 379.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.1205, allocations: 45.94 kB / 379.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1207, allocations: 334.8 kB / 379.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/0.1207, allocations: 36.45 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1209, allocations: 142.6 kB / 379.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.1211, allocations: 202.1 kB / 379.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1211, allocations: 4 kB / 379.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003023/0.1214, allocations: 221.1 kB / 380 MB, free: 10.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1215, allocations: 9.094 kB / 380 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1215, allocations: 4 kB / 380 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.1215, allocations: 4 kB / 380 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1217, allocations: 47.92 kB / 380.1 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.1217, allocations: 7.984 kB / 380.1 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.1218, allocations: 31.72 kB / 380.1 MB, free: 9.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.1218, allocations: 12.41 kB / 380.1 MB, free: 9.91 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 0.0001018/0.1219, allocations: 133.8 kB / 380.3 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.122, allocations: 15.91 kB / 380.3 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.1221, allocations: 24.92 kB / 380.3 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1221, allocations: 4 kB / 380.3 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.1221, allocations: 0 / 380.3 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1221, allocations: 11.81 kB / 380.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.1225, allocations: 245.5 kB / 380.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1225, allocations: 0 / 380.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.1227, allocations: 31.92 kB / 380.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1227, allocations: 8 kB / 380.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1227, allocations: 0 / 380.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1227, allocations: 4 kB / 380.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1227, allocations: 4 kB / 380.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.123, allocations: 385.9 kB / 381 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.1231, allocations: 92.97 kB / 381.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.1231, allocations: 8 kB / 381.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.1233, allocations: 4.062 kB / 381.1 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.1233, allocations: 11.92 kB / 381.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1233, allocations: 4 kB / 381.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1234, allocations: 149.5 kB / 381.3 MB, free: 8.699 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1234, allocations: 3.938 kB / 381.3 MB, free: 8.695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000358/0.1238, allocations: 36 kB / 381.3 MB, free: 8.66 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.0001227/0.1239, allocations: 103.2 kB / 381.4 MB, free: 8.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1242, allocations: 112.1 kB / 381.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1242, allocations: 0 / 381.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.1242, allocations: 36.44 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.0005021/0.1247, allocations: 32.7 kB / 381.6 MB, free: 8.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/0.1257, allocations: 0.6319 MB / 382.2 MB, free: 7.707 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.126, allocations: 0.7281 MB / 382.9 MB, free: 6.949 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.126, allocations: 13.95 kB / 382.9 MB, free: 6.938 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.1261, allocations: 23.44 kB / 383 MB, free: 6.914 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1261, allocations: 0 / 383 MB, free: 6.914 MB / 318.1 MB Notification: Performance of Templates: time 0.003691/0.1298, 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)