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.00759/0.00759, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001458/0.001458, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.588/1.588, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001523/0.001523, allocations: 49.92 kB / 326.5 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1077, allocations: 46.63 MB / 373.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004979/0.1128, allocations: 2.088 MB / 375.2 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005668/0.1134, allocations: 155.4 kB / 375.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.1136, allocations: 4 kB / 375.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.1139, allocations: 27.72 kB / 375.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1141, allocations: 51.55 kB / 375.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.1143, allocations: 43.89 kB / 375.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.1147, allocations: 175.2 kB / 375.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.1149, allocations: 66 kB / 375.8 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1151, allocations: 75.72 kB / 375.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1152, allocations: 67.64 kB / 375.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.1153, allocations: 16 kB / 375.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.122e-05/0.1153, allocations: 12 kB / 375.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.1154, allocations: 35.84 kB / 376 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1155, allocations: 83.59 kB / 376 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.1158, allocations: 175.4 kB / 376.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1158, allocations: 4 kB / 376.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1158, allocations: 0 / 376.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.1159, allocations: 3.938 kB / 376.2 MB, free: 14.36 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.0008442/0.1167, allocations: 466.8 kB / 376.7 MB, free: 13.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1168, allocations: 8.031 kB / 376.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.1168, allocations: 16.75 kB / 376.7 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.1172, allocations: 224.1 kB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1173, allocations: 8.375 kB / 376.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.1173, allocations: 20.28 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.1176, allocations: 186.2 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.1177, allocations: 7.875 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.1177, allocations: 15.94 kB / 377.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1177, allocations: 8 kB / 377.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.1179, allocations: 99.86 kB / 377.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.1194, allocations: 0.9507 MB / 378.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1196, allocations: 107.7 kB / 378.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.445e-05/0.1196, allocations: 42.69 kB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.1197, allocations: 4 kB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.1197, allocations: 38.56 kB / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.1197, allocations: 0 / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003463/0.1201, allocations: 121.4 kB / 378.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.1201, allocations: 110.8 kB / 378.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.1204, allocations: 207.7 kB / 378.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1204, allocations: 25.7 kB / 378.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1205, allocations: 143.8 kB / 379 MB, free: 11.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.1206, allocations: 55.3 kB / 379 MB, free: 11.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/0.1207, allocations: 45.94 kB / 379.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1208, allocations: 330.8 kB / 379.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/0.1209, allocations: 36.45 kB / 379.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1211, allocations: 142.6 kB / 379.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1213, allocations: 206 kB / 379.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1213, allocations: 0 / 379.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003388/0.1217, allocations: 213.1 kB / 380 MB, free: 10.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1217, allocations: 5.5 kB / 380 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1217, allocations: 8 kB / 380 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.1217, allocations: 8 kB / 380 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.1219, allocations: 47.92 kB / 380.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.122, allocations: 7.938 kB / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1221, allocations: 39.53 kB / 380.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.1221, allocations: 8 kB / 380.1 MB, free: 10.05 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.0001194/0.1222, allocations: 133.8 kB / 380.3 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.943e-05/0.1223, allocations: 15.81 kB / 380.3 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.265e-05/0.1224, allocations: 24.94 kB / 380.3 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1224, allocations: 0 / 380.3 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.1224, allocations: 7.922 kB / 380.3 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1224, allocations: 7.938 kB / 380.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.1229, allocations: 237.5 kB / 380.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1229, allocations: 7.938 kB / 380.5 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.1231, allocations: 27.98 kB / 380.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1231, allocations: 3.984 kB / 380.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.1231, allocations: 0 / 380.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1231, allocations: 4 kB / 380.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1231, allocations: 3.938 kB / 380.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.1234, allocations: 381.8 kB / 381 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.1235, allocations: 101 kB / 381.1 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.1236, allocations: 0 / 381.1 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1237, allocations: 4 kB / 381.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.1237, allocations: 11.92 kB / 381.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1238, allocations: 12.12 kB / 381.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1239, allocations: 145.5 kB / 381.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1239, allocations: 0 / 381.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00057/0.1245, allocations: 40 kB / 381.3 MB, free: 8.805 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.0001352/0.1246, allocations: 103.2 kB / 381.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.1249, allocations: 116.5 kB / 381.5 MB, free: 8.578 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1249, allocations: 4.062 kB / 381.5 MB, free: 8.574 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.1249, allocations: 36.53 kB / 381.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.1255, allocations: 31.7 kB / 381.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1266, allocations: 0.6251 MB / 382.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.127, allocations: 0.7242 MB / 382.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.055e-05/0.1271, allocations: 17.95 kB / 382.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.1271, allocations: 15.44 kB / 382.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1271, allocations: 0 / 382.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of Templates: time 0.004442/0.1316, allocations: 1.389 MB / 384.3 MB, free: 5.676 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)