Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.656/1.656, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009197/0.0009199, allocations: 96.55 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.121e-05, allocations: 7.938 kB / 343.8 MB, free: 8.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 51.47 MB / 395.3 MB, free: 4.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4674/0.6123, allocations: 76.62 MB / 471.9 MB, free: 14.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.6127, allocations: 63.88 kB / 471.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007889/0.6206, allocations: 2.878 MB / 474.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6207, allocations: 0 / 474.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.6207, allocations: 5.594 kB / 474.8 MB, free: 12.7 MB / 346.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.0004623/0.6212, allocations: 425.7 kB / 475.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.6212, allocations: 8.031 kB / 475.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.6213, allocations: 23.72 kB / 475.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.6215, allocations: 202.9 kB / 475.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.6215, allocations: 4.859 kB / 475.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.6216, allocations: 19.28 kB / 475.5 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001806/0.6217, allocations: 77.38 kB / 475.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.622, allocations: 158.4 kB / 475.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.622, allocations: 7 kB / 475.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.622, allocations: 4 kB / 475.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.622, allocations: 4 kB / 475.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.6232, allocations: 0.9042 MB / 476.6 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.6233, allocations: 96.47 kB / 476.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.6233, allocations: 37.83 kB / 476.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.6234, allocations: 0 / 476.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.6234, allocations: 36.11 kB / 476.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.6234, allocations: 1.969 kB / 476.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002473/0.6236, allocations: 92.23 kB / 476.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.6237, allocations: 111.5 kB / 477 MB, free: 10.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.6238, allocations: 145.8 kB / 477.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.6238, allocations: 25.7 kB / 477.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.6239, allocations: 142.9 kB / 477.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.624, allocations: 54.48 kB / 477.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.624, allocations: 0 / 477.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.6241, allocations: 327.4 kB / 477.7 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.6241, allocations: 27.22 kB / 477.7 MB, free: 9.941 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.897e-05/0.6242, allocations: 136.8 kB / 477.9 MB, free: 9.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.779e-05/0.6243, allocations: 51.41 kB / 477.9 MB, free: 9.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6243, allocations: 7.953 kB / 477.9 MB, free: 9.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002368/0.6246, allocations: 176.3 kB / 478.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.6246, allocations: 8 kB / 478.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.6246, allocations: 4 kB / 478.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.6246, allocations: 5.312 kB / 478.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.6248, allocations: 55.34 kB / 478.2 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6248, allocations: 9.594 kB / 478.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.596e-05/0.6249, allocations: 19.75 kB / 478.2 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.6249, allocations: 8 kB / 478.2 MB, free: 9.512 MB / 346.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.621e-05/0.625, allocations: 119.4 kB / 478.3 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001516/0.6252, allocations: 101.5 kB / 478.4 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.6252, allocations: 7.906 kB / 478.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.6253, allocations: 18.45 kB / 478.4 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6253, allocations: 4 kB / 478.4 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6253, allocations: 0 / 478.4 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6253, allocations: 7.938 kB / 478.4 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.6257, allocations: 213 kB / 478.7 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6257, allocations: 0 / 478.7 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.6258, allocations: 27.56 kB / 478.7 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.6258, allocations: 4 kB / 478.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.6258, allocations: 1.547 kB / 478.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.6259, allocations: 7.188 kB / 478.7 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6259, allocations: 0 / 478.7 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.6261, allocations: 403 kB / 479.1 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.6262, allocations: 94.28 kB / 479.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.6262, allocations: 0 / 479.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.6264, allocations: 0 / 479.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.6264, allocations: 11.23 kB / 479.2 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.6264, allocations: 0 / 479.2 MB, free: 8.543 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.331e-05/0.6265, allocations: 122.9 kB / 479.3 MB, free: 8.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6265, allocations: 0.9375 kB / 479.3 MB, free: 8.441 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003515/0.6268, allocations: 39.86 kB / 479.3 MB, free: 8.402 MB / 346.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.0004678/0.6273, allocations: 1.065 MB / 480.4 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.6275, allocations: 89.12 kB / 480.5 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.6275, allocations: 4 kB / 480.5 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.6275, allocations: 33.16 kB / 480.5 MB, free: 7.246 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.6279, allocations: 19.02 kB / 480.6 MB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.629, allocations: 0.6091 MB / 481.2 MB, free: 6.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.6293, allocations: 0.7334 MB / 481.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.418e-05/0.6294, allocations: 16.86 kB / 481.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.6294, allocations: 51.08 kB / 482 MB, free: 5.922 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6294, allocations: 0 / 482 MB, free: 5.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.6555, allocations: 2.376 MB / 484.3 MB, free: 4.332 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/0.6558, allocations: 143.4 kB / 484.5 MB, free: 4.145 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.475, allocations: 1.828 kB / 484.5 MB, free: 4.145 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat