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.001445/0.001445, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 86.33 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.214e-05/4.235e-05, allocations: 4 kB / 350.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1529, allocations: 51.49 MB / 402.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4818/0.6348, allocations: 77.29 MB / 479.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.6352, allocations: 66.66 kB / 479.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007687/0.6429, allocations: 2.9 MB / 482.4 MB, free: 9.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6429, allocations: 0 / 482.4 MB, free: 9.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.643, allocations: 4 kB / 482.4 MB, free: 9.594 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.0005615/0.6436, allocations: 421.4 kB / 482.8 MB, free: 9.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.6436, allocations: 8.031 kB / 482.8 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.481e-05/0.6437, allocations: 50.11 kB / 482.9 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.6438, allocations: 24.5 kB / 482.9 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.644, allocations: 210.8 kB / 483.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.6441, allocations: 12.05 kB / 483.1 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.6441, allocations: 23.34 kB / 483.1 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.6445, allocations: 184.2 kB / 483.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.6445, allocations: 4 kB / 483.3 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.6445, allocations: 3.375 kB / 483.3 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.6445, allocations: 4 kB / 483.3 MB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.6447, allocations: 97.53 kB / 483.4 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.6462, allocations: 0.9597 MB / 484.4 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.6464, allocations: 106.3 kB / 484.5 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.6464, allocations: 37.7 kB / 484.5 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.6464, allocations: 0 / 484.5 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.6465, allocations: 46.19 kB / 484.5 MB, free: 7.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.6465, allocations: 0 / 484.5 MB, free: 7.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003206/0.6468, allocations: 96.27 kB / 484.6 MB, free: 7.344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.6469, allocations: 110.5 kB / 484.7 MB, free: 7.215 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.6471, allocations: 180 kB / 484.9 MB, free: 7.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.6471, allocations: 29.7 kB / 485 MB, free: 7.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.6472, allocations: 141.2 kB / 485.1 MB, free: 6.898 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.6472, allocations: 50.19 kB / 485.1 MB, free: 6.855 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.6473, allocations: 7.625 kB / 485.1 MB, free: 6.852 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.6474, allocations: 333.3 kB / 485.5 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.6474, allocations: 34.91 kB / 485.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.6476, allocations: 141.4 kB / 485.6 MB, free: 6.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.6477, allocations: 62.19 kB / 485.7 MB, free: 6.289 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6477, allocations: 0 / 485.7 MB, free: 6.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000323/0.648, allocations: 215.1 kB / 485.9 MB, free: 6.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.648, allocations: 8 kB / 485.9 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.6481, allocations: 4 kB / 485.9 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.6481, allocations: 7.172 kB / 485.9 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.6482, allocations: 51.11 kB / 486 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.6483, allocations: 4.562 kB / 486 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.6484, allocations: 27.12 kB / 486 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.6484, allocations: 12 kB / 486 MB, free: 6.004 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.055e-05/0.6485, allocations: 127.2 kB / 486.2 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-05/0.6486, allocations: 21.72 kB / 486.2 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.6486, allocations: 18.25 kB / 486.2 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.6487, allocations: 5.688 kB / 486.2 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.6487, allocations: 0 / 486.2 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6487, allocations: 3.984 kB / 486.2 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.6491, allocations: 246.4 kB / 486.4 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6491, allocations: 0 / 486.4 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.6492, allocations: 27.98 kB / 486.5 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.6492, allocations: 0 / 486.5 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.6493, allocations: 7.625 kB / 486.5 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.6493, allocations: 7.984 kB / 486.5 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6493, allocations: 0 / 486.5 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.6496, allocations: 406.2 kB / 486.9 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.6497, allocations: 96.86 kB / 487 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.6497, allocations: 0.6875 kB / 487 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.6499, allocations: 7.438 kB / 487 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.6499, allocations: 7.984 kB / 487 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.6499, allocations: 4 kB / 487 MB, free: 5.016 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.6501, allocations: 150.9 kB / 487.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6501, allocations: 0 / 487.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000357/0.6504, allocations: 48.05 kB / 487.2 MB, free: 4.852 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.0006199/0.6511, allocations: 1.073 MB / 488.3 MB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.6513, allocations: 110.5 kB / 488.4 MB, free: 3.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6513, allocations: 0 / 488.4 MB, free: 3.688 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.518e-05/0.6514, allocations: 34.53 kB / 488.4 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.6518, allocations: 28.64 kB / 488.4 MB, free: 3.641 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.653, allocations: 0.6177 MB / 489 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.6532, allocations: 0.7285 MB / 489.8 MB, free: 2.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.361e-05/0.6533, allocations: 21.53 kB / 489.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.6533, allocations: 48.17 kB / 489.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6533, allocations: 0 / 489.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.669, allocations: 3.032 MB / 492.9 MB, free: 15.42 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.6693, allocations: 168.7 kB / 493 MB, free: 15.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.45, allocations: 0 / 493 MB, free: 15.2 MB / 362.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