Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00167/0.001671, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008674/0.0008674, allocations: 86.72 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.595e-05, allocations: 0 / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 47.58 MB / 363.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3186/0.4255, allocations: 75.01 MB / 438.2 MB, free: 4.305 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.4259, allocations: 61.28 kB / 438.2 MB, free: 4.273 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00762/0.4336, allocations: 2.824 MB / 441.1 MB, free: 1.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4336, allocations: 0 / 441.1 MB, free: 1.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.4336, allocations: 4 kB / 441.1 MB, free: 1.926 MB / 314.7 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.0004945/0.4341, allocations: 417 kB / 441.5 MB, free: 1.484 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4342, allocations: 12.03 kB / 441.5 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.4342, allocations: 19.72 kB / 441.5 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.4345, allocations: 205.6 kB / 441.7 MB, free: 1.223 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.4345, allocations: 4 kB / 441.7 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.4345, allocations: 15.91 kB / 441.7 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001753/0.4347, allocations: 89.67 kB / 441.8 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.4349, allocations: 154.3 kB / 442 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.435, allocations: 0 / 442 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.435, allocations: 0 / 442 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.435, allocations: 8 kB / 442 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.4361, allocations: 0.9125 MB / 442.9 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.4362, allocations: 94.17 kB / 443 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.4363, allocations: 37.39 kB / 443 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.4363, allocations: 3.938 kB / 443 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.4364, allocations: 46.78 kB / 443 MB, free: 15.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.4364, allocations: 0 / 443 MB, free: 15.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002274/0.4366, allocations: 86.95 kB / 443.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.4367, allocations: 106.8 kB / 443.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.4368, allocations: 141.6 kB / 443.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.4368, allocations: 29.7 kB / 443.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.4369, allocations: 141.5 kB / 443.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.4369, allocations: 60.2 kB / 443.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.437, allocations: 0 / 443.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4371, allocations: 320.9 kB / 443.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.4372, allocations: 37.22 kB / 444 MB, free: 14.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.4373, allocations: 131.6 kB / 444.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.115e-05/0.4374, allocations: 49.36 kB / 444.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4374, allocations: 7.953 kB / 444.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002425/0.4376, allocations: 176.7 kB / 444.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4377, allocations: 8 kB / 444.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4377, allocations: 4.281 kB / 444.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4377, allocations: 4.406 kB / 444.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.4379, allocations: 59.91 kB / 444.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4379, allocations: 7.938 kB / 444.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.374e-05/0.438, allocations: 19.75 kB / 444.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.438, allocations: 11.12 kB / 444.4 MB, free: 14.52 MB / 330.7 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 () * 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 7.189e-05/0.4381, allocations: 112.9 kB / 444.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001603/0.4382, allocations: 103.4 kB / 444.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.4383, allocations: 11.91 kB / 444.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.4384, allocations: 18.83 kB / 444.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.4384, allocations: 11.94 kB / 444.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4384, allocations: 0 / 444.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.4384, allocations: 0 / 444.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.4387, allocations: 214.1 kB / 444.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4388, allocations: 0 / 444.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.4389, allocations: 27.98 kB / 444.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4389, allocations: 4 kB / 444.9 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4389, allocations: 3.938 kB / 444.9 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4389, allocations: 0 / 444.9 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.4389, allocations: 4 kB / 444.9 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.4392, allocations: 389.4 kB / 445.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.4393, allocations: 92.02 kB / 445.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.4393, allocations: 0 / 445.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.4395, allocations: 0 / 445.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.4395, allocations: 7.984 kB / 445.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.4395, allocations: 15.88 kB / 445.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.451e-05/0.4396, allocations: 122.4 kB / 445.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4396, allocations: 0 / 445.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003595/0.44, allocations: 39.86 kB / 445.6 MB, free: 13.34 MB / 330.7 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 () * 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.0005399/0.4405, allocations: 1.063 MB / 446.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.4407, allocations: 92.02 kB / 446.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4407, allocations: 0 / 446.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/0.4407, allocations: 31.81 kB / 446.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.4411, allocations: 27.48 kB / 446.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4421, allocations: 0.6071 MB / 447.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.4424, allocations: 0.7319 MB / 448.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.664e-05/0.4424, allocations: 13.33 kB / 448.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.4425, allocations: 50.77 kB / 448.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4425, allocations: 0 / 448.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.955/2.397, allocations: 2.367 MB / 450.6 MB, free: 8.367 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/2.397, allocations: 145.8 kB / 450.7 MB, free: 8.176 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/4.294, allocations: 4 kB / 450.7 MB, free: 8.172 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat