Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002521/0.002521, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.674/1.674, allocations: 221.3 MB / 235.5 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 89.89 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.336e-05/4.409e-05, allocations: 0 / 343.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1357, allocations: 50.42 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.443/0.5788, allocations: 76.49 MB / 470.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.5791, allocations: 67.95 kB / 470.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008405/0.5875, allocations: 2.899 MB / 473.8 MB, free: 8.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5876, allocations: 0 / 473.8 MB, free: 8.043 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.5876, allocations: 4 kB / 473.8 MB, free: 8.039 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.0008056/0.5884, allocations: 418.8 kB / 474.2 MB, free: 7.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.82e-05/0.5885, allocations: 12.03 kB / 474.2 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.5887, allocations: 46.55 kB / 474.3 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.134e-05/0.5888, allocations: 27.77 kB / 474.3 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.5892, allocations: 213.7 kB / 474.5 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.5893, allocations: 12 kB / 474.5 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.5893, allocations: 16 kB / 474.5 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.5898, allocations: 177.7 kB / 474.7 MB, free: 7.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.5899, allocations: 3.906 kB / 474.7 MB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.5899, allocations: 16 kB / 474.7 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.5899, allocations: 7.953 kB / 474.7 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.5902, allocations: 95.84 kB / 474.8 MB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.5922, allocations: 0.9585 MB / 475.8 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.5924, allocations: 111.7 kB / 475.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.87e-05/0.5925, allocations: 38.58 kB / 475.9 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.5926, allocations: 0 / 475.9 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.5926, allocations: 34.5 kB / 476 MB, free: 5.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.694e-06/0.5926, allocations: 0 / 476 MB, free: 5.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004112/0.593, allocations: 109.6 kB / 476.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/0.5931, allocations: 110.8 kB / 476.2 MB, free: 5.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.5934, allocations: 179.1 kB / 476.4 MB, free: 5.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.5935, allocations: 25.7 kB / 476.4 MB, free: 5.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.5936, allocations: 143.8 kB / 476.5 MB, free: 5.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.5937, allocations: 55.25 kB / 476.6 MB, free: 4.969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.5937, allocations: 0 / 476.6 MB, free: 4.969 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.5939, allocations: 326.8 kB / 476.9 MB, free: 4.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.594, allocations: 36.47 kB / 476.9 MB, free: 4.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.5943, allocations: 142.6 kB / 477.1 MB, free: 4.414 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.5944, allocations: 72.03 kB / 477.1 MB, free: 4.344 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5944, allocations: 3.938 kB / 477.1 MB, free: 4.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004834/0.5949, allocations: 209.1 kB / 477.3 MB, free: 4.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.595, allocations: 8 kB / 477.4 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.595, allocations: 8.406 kB / 477.4 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.595, allocations: 8 kB / 477.4 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.5953, allocations: 47.92 kB / 477.4 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.5953, allocations: 7.984 kB / 477.4 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.5955, allocations: 27.69 kB / 477.5 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.5955, allocations: 12 kB / 477.5 MB, free: 4.012 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 0.0001354/0.5957, allocations: 124.6 kB / 477.6 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.5958, allocations: 23.77 kB / 477.6 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.68e-05/0.5959, allocations: 24.92 kB / 477.6 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.5959, allocations: 4 kB / 477.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.5959, allocations: 4 kB / 477.6 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5959, allocations: 0 / 477.6 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.5966, allocations: 229.6 kB / 477.9 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5966, allocations: 4 kB / 477.9 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.5968, allocations: 27.98 kB / 477.9 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.5968, allocations: 0 / 477.9 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.5969, allocations: 11.95 kB / 477.9 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.5969, allocations: 0 / 477.9 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5969, allocations: 0 / 477.9 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.5974, allocations: 409.1 kB / 478.3 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.5975, allocations: 96.92 kB / 478.4 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.5976, allocations: 11.92 kB / 478.4 MB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.5978, allocations: 4 kB / 478.4 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.5978, allocations: 4 kB / 478.4 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.5979, allocations: 8 kB / 478.4 MB, free: 2.941 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.598, allocations: 149.5 kB / 478.6 MB, free: 2.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5981, allocations: 0 / 478.6 MB, free: 2.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00055/0.5986, allocations: 40 kB / 478.6 MB, free: 2.758 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.0009937/0.5996, allocations: 1.078 MB / 479.7 MB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.5999, allocations: 111.8 kB / 479.8 MB, free: 1.531 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6, allocations: 0.8125 kB / 479.8 MB, free: 1.531 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.6, allocations: 35.92 kB / 479.8 MB, free: 1.496 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.6005, allocations: 25.53 kB / 479.9 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.6022, allocations: 0.6206 MB / 480.5 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.6028, allocations: 0.7246 MB / 481.2 MB, free: 56 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.6029, allocations: 21.53 kB / 481.2 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.603, allocations: 47.5 kB / 481.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.603, allocations: 0 / 481.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.6258, allocations: 3.034 MB / 484.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/0.6261, allocations: 162.3 kB / 484.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.539, allocations: 4 kB / 484.5 MB, free: 12.85 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat