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.001752/0.001752, allocations: 180.9 kB / 16.38 MB, free: 5.766 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.38/1.38, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009694/0.0009694, allocations: 97.92 kB / 291.5 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002628, allocations: 4 kB / 351.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2658, allocations: 50.39 MB / 401.6 MB, free: 32.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09208/0.3579, allocations: 76.57 MB / 478.1 MB, free: 3.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000168/0.3581, allocations: 67.59 kB / 478.2 MB, free: 3.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007456/0.3656, allocations: 2.887 MB / 481.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3656, allocations: 0 / 481.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.3657, allocations: 7.984 kB / 481.1 MB, free: 0.8945 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.0005022/0.3662, allocations: 435 kB / 481.5 MB, free: 432 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3662, allocations: 12.03 kB / 481.5 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/0.3663, allocations: 54.55 kB / 481.6 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.3664, allocations: 27.67 kB / 481.6 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.3665, allocations: 202.8 kB / 481.8 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3666, allocations: 12 kB / 481.8 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.3666, allocations: 16 kB / 481.8 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.3669, allocations: 181.6 kB / 482 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.367, allocations: 11.98 kB / 482 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.367, allocations: 4 kB / 482 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.367, allocations: 7.953 kB / 482 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.3672, allocations: 95.89 kB / 482.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.3684, allocations: 0.9625 MB / 483.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3685, allocations: 107.9 kB / 483.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.3686, allocations: 3.984 kB / 483.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.3686, allocations: 38.56 kB / 483.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.3686, allocations: 0 / 483.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002891/0.3689, allocations: 121.4 kB / 483.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.369, allocations: 114.8 kB / 483.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3691, allocations: 190.8 kB / 483.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3692, allocations: 25.7 kB / 483.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.3692, allocations: 143.8 kB / 483.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.3693, allocations: 51.3 kB / 483.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.3693, allocations: 4 kB / 483.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3694, allocations: 327.9 kB / 484.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.388e-05/0.3695, allocations: 36.45 kB / 484.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3696, allocations: 144.2 kB / 484.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.658e-05/0.3697, allocations: 63.92 kB / 484.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3697, allocations: 0 / 484.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002773/0.37, allocations: 213.8 kB / 484.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.37, allocations: 7.953 kB / 484.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.37, allocations: 7.938 kB / 484.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3701, allocations: 8 kB / 484.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.3702, allocations: 47.92 kB / 484.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.3702, allocations: 12.39 kB / 484.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3704, allocations: 27.75 kB / 484.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.3704, allocations: 8.094 kB / 484.8 MB, free: 12.87 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.0001019/0.3705, allocations: 137.5 kB / 484.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.3706, allocations: 19.8 kB / 484.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.3706, allocations: 28.88 kB / 485 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3706, allocations: 0 / 485 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3706, allocations: 4 kB / 485 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3706, allocations: 4 kB / 485 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.3711, allocations: 245.5 kB / 485.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3711, allocations: 4 kB / 485.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.3712, allocations: 31.92 kB / 485.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3712, allocations: 0 / 485.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3713, allocations: 0 / 485.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3713, allocations: 7.953 kB / 485.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3713, allocations: 0 / 485.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.3716, allocations: 416.3 kB / 485.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.3717, allocations: 92.88 kB / 485.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3717, allocations: 8.062 kB / 485.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3718, allocations: 0 / 485.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.3719, allocations: 7.984 kB / 485.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3719, allocations: 8 kB / 485.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.372, allocations: 149.5 kB / 485.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.372, allocations: 4 kB / 485.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.3723, allocations: 39.91 kB / 486 MB, free: 11.58 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.0005653/0.3729, allocations: 1.086 MB / 487 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.3731, allocations: 111.8 kB / 487.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3731, allocations: 0 / 487.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.3732, allocations: 35.92 kB / 487.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.3735, allocations: 23.72 kB / 487.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.376, allocations: 3.704 MB / 490.9 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.3763, allocations: 0.7361 MB / 491.6 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.108e-05/0.3764, allocations: 17.55 kB / 491.7 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.3764, allocations: 55.41 kB / 491.7 MB, free: 5.645 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3764, allocations: 0 / 491.7 MB, free: 5.645 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/0.3904, allocations: 3.069 MB / 494.8 MB, free: 2.711 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.3906, allocations: 195.1 kB / 495 MB, free: 2.469 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.018, allocations: 4.062 kB / 495 MB, free: 2.465 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