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.001283/0.001283, allocations: 181.2 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 223.1 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000915/0.0009152, allocations: 97.14 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002598/0.0002599, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2287, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08774/0.3165, allocations: 75.51 MB / 451.4 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001688/0.3167, allocations: 71.95 kB / 451.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006797/0.3235, allocations: 2.825 MB / 454.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.928e-06/0.3235, allocations: 0 / 454.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3235, allocations: 7.938 kB / 454.3 MB, free: 2.227 MB / 330.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.0004165/0.3239, allocations: 442.5 kB / 454.8 MB, free: 1.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.324, allocations: 8.031 kB / 454.8 MB, free: 1.738 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.324, allocations: 54.55 kB / 454.8 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.3241, allocations: 15.81 kB / 454.8 MB, free: 1.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.3242, allocations: 210.9 kB / 455 MB, free: 1.414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3243, allocations: 8 kB / 455 MB, free: 1.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.3243, allocations: 23.95 kB / 455.1 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.3246, allocations: 185.6 kB / 455.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3246, allocations: 4 kB / 455.3 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.3246, allocations: 4 kB / 455.3 MB, free: 1.172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3246, allocations: 4 kB / 455.3 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.3248, allocations: 106.7 kB / 455.4 MB, free: 1.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.3258, allocations: 0.9634 MB / 456.3 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.326, allocations: 103.8 kB / 456.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.326, allocations: 0 / 456.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.326, allocations: 42.56 kB / 456.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.264e-06/0.326, allocations: 0 / 456.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002471/0.3263, allocations: 130 kB / 456.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3263, allocations: 102.8 kB / 456.7 MB, free: 15.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3265, allocations: 186.9 kB / 456.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3265, allocations: 29.7 kB / 456.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.3266, allocations: 139.8 kB / 457 MB, free: 15.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.3266, allocations: 51.3 kB / 457.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.3266, allocations: 8 kB / 457.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.3267, allocations: 330.8 kB / 457.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.44e-05/0.3268, allocations: 40.44 kB / 457.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3269, allocations: 142.6 kB / 457.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.094e-05/0.327, allocations: 63.92 kB / 457.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.327, allocations: 0 / 457.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002645/0.3273, allocations: 209.5 kB / 457.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3273, allocations: 12 kB / 457.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3273, allocations: 4 kB / 457.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3273, allocations: 4 kB / 457.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.3275, allocations: 55.84 kB / 457.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3275, allocations: 4 kB / 457.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.932e-05/0.3276, allocations: 23.75 kB / 458 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.3276, allocations: 19.94 kB / 458 MB, free: 14.2 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 () * 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 8.692e-05/0.3277, allocations: 137.7 kB / 458.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.3278, allocations: 19.81 kB / 458.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.3278, allocations: 20.92 kB / 458.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3278, allocations: 4 kB / 458.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3278, allocations: 0 / 458.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3278, allocations: 0 / 458.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.3282, allocations: 245.4 kB / 458.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3282, allocations: 0 / 458.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3284, allocations: 27.98 kB / 458.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3284, allocations: 4 kB / 458.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3284, allocations: 4 kB / 458.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3284, allocations: 4 kB / 458.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3284, allocations: 4 kB / 458.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.3287, allocations: 410.1 kB / 458.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.3287, allocations: 92.98 kB / 458.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3288, allocations: 4 kB / 458.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.3289, allocations: 7.938 kB / 459 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.3289, allocations: 11.98 kB / 459 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3289, allocations: 4 kB / 459 MB, free: 13.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.892e-05/0.329, allocations: 145.5 kB / 459.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3291, allocations: 0 / 459.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.3294, allocations: 48.23 kB / 459.2 MB, free: 12.93 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 () * 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.0005136/0.3299, allocations: 1.076 MB / 460.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.3301, allocations: 112.5 kB / 460.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3301, allocations: 4.062 kB / 460.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.3301, allocations: 39.92 kB / 460.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3305, allocations: 23.94 kB / 460.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.3327, allocations: 3.7 MB / 464.1 MB, free: 7.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.333, allocations: 0.7284 MB / 464.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.86e-05/0.333, allocations: 21.53 kB / 464.9 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.3331, allocations: 51.42 kB / 464.9 MB, free: 7 MB / 346.7 MB Notification: Performance of SimCode: time 2e-07/0.3331, allocations: 0 / 464.9 MB, free: 7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.345, allocations: 3.078 MB / 468 MB, free: 3.957 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.3453, allocations: 191.4 kB / 468.2 MB, free: 3.711 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.892, allocations: 0 / 468.2 MB, free: 3.711 MB / 346.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