Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001045/0.001045, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.00173/0.00173, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0005265/0.0005266, allocations: 10.81 kB / 278.9 MB, free: 13.08 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2475, allocations: 47.58 MB / 326.4 MB, free: 1.598 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001848/0.2494, allocations: 1.678 MB / 328.1 MB, free: 288 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.2497, allocations: 178.5 kB / 328.3 MB, free: 136 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.687e-05/0.2498, allocations: 2.969 kB / 328.3 MB, free: 136 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.2499, allocations: 18.84 kB / 328.3 MB, free: 120 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.25, allocations: 59.47 kB / 328.4 MB, free: 68 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.2501, allocations: 31.88 kB / 328.4 MB, free: 44 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.2504, allocations: 121.4 kB / 328.5 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.2505, allocations: 45.41 kB / 328.6 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.623e-05/0.2506, allocations: 54.05 kB / 328.6 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.2507, allocations: 60.39 kB / 328.7 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.2507, allocations: 7.625 kB / 328.7 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.536e-05/0.2508, allocations: 8.438 kB / 328.7 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.2508, allocations: 27.84 kB / 328.7 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.2509, allocations: 57.98 kB / 328.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.251, allocations: 127.6 kB / 328.9 MB, free: 15.71 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.251, allocations: 0 / 328.9 MB, free: 15.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.251, allocations: 3.938 kB / 328.9 MB, free: 15.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.2511, allocations: 1.312 kB / 328.9 MB, free: 15.71 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.0005861/0.2516, allocations: 439.8 kB / 329.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2517, allocations: 12.53 kB / 329.4 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.2517, allocations: 21.22 kB / 329.4 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.252, allocations: 214.6 kB / 329.6 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.252, allocations: 18.72 kB / 329.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.2521, allocations: 18.91 kB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.2524, allocations: 181.5 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.2524, allocations: 9.609 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.2524, allocations: 10.19 kB / 329.8 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.2524, allocations: 4.031 kB / 329.8 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.2526, allocations: 99.69 kB / 329.9 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.2539, allocations: 0.9524 MB / 330.9 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.254, allocations: 98.45 kB / 331 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.2541, allocations: 9.719 kB / 331 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2541, allocations: 32.69 kB / 331 MB, free: 13.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.2541, allocations: 0 / 331 MB, free: 13.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002985/0.2544, allocations: 125.9 kB / 331.1 MB, free: 13.67 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.2545, allocations: 105.3 kB / 331.2 MB, free: 13.55 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2547, allocations: 219 kB / 331.4 MB, free: 13.37 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2547, allocations: 29.7 kB / 331.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.2548, allocations: 141.3 kB / 331.6 MB, free: 13.2 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.2549, allocations: 53.19 kB / 331.7 MB, free: 13.16 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-06/0.2549, allocations: 0.9062 kB / 331.7 MB, free: 13.16 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.255, allocations: 327.5 kB / 332 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/0.2551, allocations: 36.95 kB / 332 MB, free: 12.82 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.2552, allocations: 144.7 kB / 332.2 MB, free: 12.66 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.2553, allocations: 61.52 kB / 332.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2553, allocations: 0.9375 kB / 332.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000299/0.2557, allocations: 219.2 kB / 332.4 MB, free: 12.5 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2557, allocations: 5.875 kB / 332.4 MB, free: 12.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2557, allocations: 4.062 kB / 332.4 MB, free: 12.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.2557, allocations: 5.344 kB / 332.5 MB, free: 12.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2559, allocations: 50.42 kB / 332.5 MB, free: 12.49 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2559, allocations: 9.109 kB / 332.5 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.256, allocations: 28.5 kB / 332.5 MB, free: 12.46 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.256, allocations: 17.45 kB / 332.6 MB, free: 12.46 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.2562, allocations: 135.2 kB / 332.7 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.2562, allocations: 17.19 kB / 332.7 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.2563, allocations: 20.86 kB / 332.7 MB, free: 12.3 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2563, allocations: 2.469 kB / 332.7 MB, free: 12.3 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2563, allocations: 9.156 kB / 332.7 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2563, allocations: 1.5 kB / 332.7 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.2567, allocations: 243.5 kB / 333 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2567, allocations: 1.125 kB / 333 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.2569, allocations: 34.89 kB / 333 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2569, allocations: 2.281 kB / 333 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2569, allocations: 5.125 kB / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2569, allocations: 2.188 kB / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2569, allocations: 1 kB / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.2573, allocations: 402.3 kB / 333.4 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.2574, allocations: 93.64 kB / 333.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.2574, allocations: 1.438 kB / 333.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.2575, allocations: 5.281 kB / 333.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.2576, allocations: 16.78 kB / 333.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.2576, allocations: 7.406 kB / 333.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.2577, allocations: 148.7 kB / 333.7 MB, free: 11.43 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2577, allocations: 0 / 333.7 MB, free: 11.43 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.2581, allocations: 48.31 kB / 333.7 MB, free: 11.41 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001089/0.2582, allocations: 97.5 kB / 333.8 MB, free: 11.32 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.2584, allocations: 110.1 kB / 333.9 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2584, allocations: 0 / 333.9 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.033e-05/0.2585, allocations: 34.61 kB / 334 MB, free: 11.26 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.2589, allocations: 27.12 kB / 334 MB, free: 11.25 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.2599, allocations: 0.7457 MB / 334.7 MB, free: 10.61 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.2602, allocations: 0.731 MB / 335.5 MB, free: 9.883 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.141e-05/0.2603, allocations: 20.08 kB / 335.5 MB, free: 9.875 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.2603, allocations: 16.16 kB / 335.5 MB, free: 9.871 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2603, allocations: 0 / 335.5 MB, free: 9.871 MB / 270.1 MB Notification: Performance of Templates: time 0.003757/0.2641, allocations: 1.234 MB / 336.7 MB, free: 8.863 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) Environment - environmentSimulation: