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.001088/0.001088, allocations: 202.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.2 MB / 245 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008549/0.0008548, allocations: 101.6 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002826, allocations: 12 kB / 358 MB, free: 9.234 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2256, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09608/0.3218, allocations: 77.36 MB / 486.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.322, allocations: 63.97 kB / 486.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008067/0.3301, allocations: 2.898 MB / 489.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3302, allocations: 3.938 kB / 489.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.3302, allocations: 4 kB / 489.8 MB, free: 10.26 MB / 362.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.0006924/0.3309, allocations: 438.8 kB / 490.3 MB, free: 9.785 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.3309, allocations: 8.031 kB / 490.3 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.15e-05/0.331, allocations: 46.73 kB / 490.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.3311, allocations: 23.75 kB / 490.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.3313, allocations: 213.7 kB / 490.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.3314, allocations: 12 kB / 490.6 MB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.3314, allocations: 23.95 kB / 490.6 MB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.3317, allocations: 181.7 kB / 490.8 MB, free: 9.219 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.3318, allocations: 0 / 490.8 MB, free: 9.219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.3318, allocations: 12 kB / 490.8 MB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3318, allocations: 7.938 kB / 490.8 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.332, allocations: 91.88 kB / 490.9 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.3333, allocations: 0.9626 MB / 491.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.3335, allocations: 103.8 kB / 491.9 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.3335, allocations: 4 kB / 491.9 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3335, allocations: 42.5 kB / 492 MB, free: 7.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.3335, allocations: 0 / 492 MB, free: 7.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003114/0.3339, allocations: 126 kB / 492.1 MB, free: 7.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.3339, allocations: 106.8 kB / 492.2 MB, free: 7.621 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.3341, allocations: 186.9 kB / 492.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3342, allocations: 25.7 kB / 492.4 MB, free: 7.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3343, allocations: 147.8 kB / 492.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.3343, allocations: 55.28 kB / 492.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.3343, allocations: 4 kB / 492.6 MB, free: 7.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3345, allocations: 343.8 kB / 492.9 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.17e-05/0.3346, allocations: 36.45 kB / 493 MB, free: 6.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.3347, allocations: 134.7 kB / 493.1 MB, free: 6.625 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.3348, allocations: 59.94 kB / 493.2 MB, free: 6.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3348, allocations: 4 kB / 493.2 MB, free: 6.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003173/0.3352, allocations: 209.4 kB / 493.4 MB, free: 6.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3352, allocations: 4 kB / 493.4 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3352, allocations: 4 kB / 493.4 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.3352, allocations: 8 kB / 493.4 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3354, allocations: 55.91 kB / 493.4 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3354, allocations: 7.938 kB / 493.5 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3355, allocations: 23.75 kB / 493.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.3356, allocations: 8 kB / 493.5 MB, free: 6.242 MB / 362.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 () * 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.0001272/0.3357, allocations: 149.6 kB / 493.6 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-05/0.3358, allocations: 15.81 kB / 493.6 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.3358, allocations: 20.92 kB / 493.7 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3358, allocations: 3.938 kB / 493.7 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3358, allocations: 4 kB / 493.7 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3359, allocations: 0 / 493.7 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.3363, allocations: 241.4 kB / 493.9 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3363, allocations: 0 / 493.9 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.3365, allocations: 31.98 kB / 493.9 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3365, allocations: 0 / 493.9 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3365, allocations: 4 kB / 493.9 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3365, allocations: 7.938 kB / 494 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3365, allocations: 3.938 kB / 494 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.3368, allocations: 409.2 kB / 494.4 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.3369, allocations: 88.92 kB / 494.4 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.337, allocations: 12.05 kB / 494.5 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3371, allocations: 4 kB / 494.5 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.3371, allocations: 7.938 kB / 494.5 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3372, allocations: 3.984 kB / 494.5 MB, free: 5.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.3373, allocations: 153.5 kB / 494.6 MB, free: 4.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3373, allocations: 0 / 494.6 MB, free: 4.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003597/0.3377, allocations: 47.86 kB / 494.7 MB, free: 4.949 MB / 362.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 () * 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.0006323/0.3383, allocations: 1.085 MB / 495.8 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.3385, allocations: 108.4 kB / 495.9 MB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3385, allocations: 0 / 495.9 MB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.3386, allocations: 31.92 kB / 495.9 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.339, allocations: 34.16 kB / 495.9 MB, free: 3.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.3419, allocations: 3.712 MB / 499.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3422, allocations: 0.7284 MB / 0.4886 GB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.909e-05/0.3423, allocations: 13.55 kB / 0.4886 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.3425, allocations: 55.36 kB / 0.4887 GB, free: 15.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3425, allocations: 4 kB / 0.4887 GB, free: 15.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.359, allocations: 3.072 MB / 0.4917 GB, free: 12.08 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.3593, allocations: 191.8 kB / 0.4919 GB, free: 11.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.023, allocations: 0 / 0.4919 GB, free: 11.84 MB / 378.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