Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_cpp_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.002509/0.002509, allocations: 185.5 kB / 16.41 MB, free: 5.727 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.997/1.997, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001171/0.001171, allocations: 103.3 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005554/0.0005553, allocations: 8 kB / 327.1 MB, free: 132 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3372, allocations: 47.58 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.493, allocations: 75.5 MB / 450.1 MB, free: 5.273 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.4933, allocations: 75.95 kB / 450.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0131/0.5065, allocations: 2.832 MB / 453 MB, free: 2.355 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5065, allocations: 3.938 kB / 453 MB, free: 2.352 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.5066, allocations: 4 kB / 453 MB, free: 2.348 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.001001/0.5076, allocations: 434.5 kB / 453.5 MB, free: 1.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.573e-05/0.5077, allocations: 8.031 kB / 453.5 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.5078, allocations: 50.55 kB / 453.5 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/0.5079, allocations: 23.8 kB / 453.6 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.5083, allocations: 209.6 kB / 453.8 MB, free: 1.543 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-05/0.5084, allocations: 12 kB / 453.8 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.5085, allocations: 23.95 kB / 453.8 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005881/0.5091, allocations: 185.6 kB / 454 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.5091, allocations: 0 / 454 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.5092, allocations: 4 kB / 454 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.5092, allocations: 8 kB / 454 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.5097, allocations: 99.88 kB / 454.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.5125, allocations: 0.9595 MB / 455 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.5129, allocations: 103.8 kB / 455.1 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.5129, allocations: 4 kB / 455.1 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.204e-05/0.513, allocations: 34.56 kB / 455.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 4.459e-06/0.5131, allocations: 3.938 kB / 455.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006755/0.5138, allocations: 122.1 kB / 455.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.515e-05/0.5139, allocations: 114.8 kB / 455.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.5143, allocations: 178.9 kB / 455.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.5143, allocations: 33.7 kB / 455.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.5145, allocations: 202.3 kB / 455.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.315e-05/0.5146, allocations: 51.28 kB / 455.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.5147, allocations: 8 kB / 455.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.5149, allocations: 318.8 kB / 456.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.5151, allocations: 36.45 kB / 456.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.5154, allocations: 150.6 kB / 456.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.5157, allocations: 59.92 kB / 456.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.5157, allocations: 3.938 kB / 456.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008226/0.5166, allocations: 209.2 kB / 456.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.5166, allocations: 4 kB / 456.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.5167, allocations: 8 kB / 456.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/0.5167, allocations: 7.938 kB / 456.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.5172, allocations: 51.91 kB / 456.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.202e-05/0.5173, allocations: 4 kB / 456.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.5177, allocations: 31.69 kB / 456.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.5177, allocations: 12.41 kB / 456.8 MB, free: 14.29 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 0.0002315/0.518, allocations: 141.7 kB / 456.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.5181, allocations: 15.81 kB / 456.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.123e-05/0.5182, allocations: 24.92 kB / 456.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.5183, allocations: 0 / 456.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.5183, allocations: 0 / 456.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.5183, allocations: 4 kB / 456.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.5194, allocations: 241.4 kB / 457.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.5194, allocations: 4 kB / 457.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.5199, allocations: 27.98 kB / 457.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.5199, allocations: 4 kB / 457.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.52, allocations: 4 kB / 457.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.52, allocations: 4 kB / 457.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.52, allocations: 0 / 457.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007512/0.5208, allocations: 414.8 kB / 457.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.521, allocations: 92.98 kB / 457.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.521, allocations: 4 kB / 457.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.5214, allocations: 4 kB / 457.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.5215, allocations: 7.984 kB / 457.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.5215, allocations: 4 kB / 457.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002767/0.5218, allocations: 145.5 kB / 457.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.5218, allocations: 0 / 457.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009383/0.5228, allocations: 48.23 kB / 457.9 MB, free: 13.02 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.001288/0.5241, allocations: 1.08 MB / 459 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005042/0.5247, allocations: 111.8 kB / 459.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5247, allocations: 0 / 459.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.5248, allocations: 39.92 kB / 459.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008201/0.5257, allocations: 23.94 kB / 459.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.5316, allocations: 3.726 MB / 462.9 MB, free: 7.883 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.5322, allocations: 0.7323 MB / 463.6 MB, free: 7.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.5324, allocations: 59.36 kB / 463.7 MB, free: 7.066 MB / 346.7 MB Notification: Performance of SimCode: time 1.583e-06/0.5324, allocations: 0 / 463.7 MB, free: 7.066 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.607/3.139, allocations: 2.681 MB / 466.4 MB, free: 4.387 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat