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.00157/0.00157, allocations: 180 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001266/0.001265, allocations: 91.47 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.529e-05, allocations: 4 kB / 314.9 MB, free: 9.074 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3522, allocations: 47.57 MB / 362.4 MB, free: 45.74 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.4893, allocations: 74.76 MB / 437.2 MB, free: 11.47 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/0.4897, allocations: 63.97 kB / 437.2 MB, free: 11.41 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01745/0.5072, allocations: 2.806 MB / 440 MB, free: 8.633 MB / 331.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.5073, allocations: 2.469 kB / 440.1 MB, free: 8.633 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.541e-05/0.5073, allocations: 1.125 kB / 440.1 MB, free: 8.633 MB / 331.1 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.00108/0.5084, allocations: 428.3 kB / 440.5 MB, free: 8.172 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.5085, allocations: 16.03 kB / 440.5 MB, free: 8.156 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.5086, allocations: 19.72 kB / 440.5 MB, free: 8.137 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.5089, allocations: 206.7 kB / 440.7 MB, free: 7.898 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.509, allocations: 4 kB / 440.7 MB, free: 7.895 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.509, allocations: 15.91 kB / 440.7 MB, free: 7.879 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003376/0.5094, allocations: 91.86 kB / 440.8 MB, free: 7.789 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.5097, allocations: 149.9 kB / 441 MB, free: 7.621 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.5098, allocations: 4 kB / 441 MB, free: 7.617 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.5098, allocations: 0 / 441 MB, free: 7.617 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.5098, allocations: 4 kB / 441 MB, free: 7.613 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.5117, allocations: 0.9093 MB / 441.9 MB, free: 6.633 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.512, allocations: 99.66 kB / 442 MB, free: 6.508 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.5121, allocations: 34.58 kB / 442 MB, free: 6.465 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.5121, allocations: 4 kB / 442 MB, free: 6.461 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.5122, allocations: 36 kB / 442.1 MB, free: 6.418 MB / 331.1 MB Notification: Performance of pre-optimization done (n=12): time 5.801e-06/0.5122, allocations: 5.188 kB / 442.1 MB, free: 6.414 MB / 331.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003583/0.5125, allocations: 93.84 kB / 442.1 MB, free: 6.316 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.5126, allocations: 110.8 kB / 442.3 MB, free: 6.184 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.5129, allocations: 142.8 kB / 442.4 MB, free: 6.035 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.5129, allocations: 25.7 kB / 442.4 MB, free: 6.004 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.5131, allocations: 211.4 kB / 442.6 MB, free: 5.797 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.5132, allocations: 55.2 kB / 442.7 MB, free: 5.742 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.5132, allocations: 0 / 442.7 MB, free: 5.742 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5133, allocations: 322.8 kB / 443 MB, free: 5.418 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.5135, allocations: 32.47 kB / 443 MB, free: 5.383 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.5137, allocations: 127.4 kB / 443.2 MB, free: 5.211 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.5138, allocations: 53.56 kB / 443.2 MB, free: 5.16 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.5139, allocations: 11.95 kB / 443.2 MB, free: 5.148 MB / 331.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004508/0.5143, allocations: 173.3 kB / 443.4 MB, free: 4.973 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.5144, allocations: 4 kB / 443.4 MB, free: 4.969 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.5144, allocations: 4 kB / 443.4 MB, free: 4.965 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.5144, allocations: 8.406 kB / 443.4 MB, free: 4.957 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.5148, allocations: 53.88 kB / 443.5 MB, free: 4.906 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.5148, allocations: 11.94 kB / 443.5 MB, free: 4.895 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.515, allocations: 11.84 kB / 443.5 MB, free: 4.883 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.515, allocations: 17.8 kB / 443.5 MB, free: 4.867 MB / 331.1 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.0001238/0.5152, allocations: 112.6 kB / 443.6 MB, free: 4.75 MB / 331.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002918/0.5155, allocations: 101.4 kB / 443.7 MB, free: 4.645 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.367e-05/0.5156, allocations: 16.31 kB / 443.7 MB, free: 4.629 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.773e-05/0.5156, allocations: 12.34 kB / 443.7 MB, free: 4.613 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.5156, allocations: 0 / 443.7 MB, free: 4.613 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.5157, allocations: 11.94 kB / 443.7 MB, free: 4.602 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5157, allocations: 3.984 kB / 443.7 MB, free: 4.598 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.5163, allocations: 212.1 kB / 444 MB, free: 4.355 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5164, allocations: 0 / 444 MB, free: 4.355 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.5167, allocations: 35.92 kB / 444 MB, free: 4.32 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.5167, allocations: 0 / 444 MB, free: 4.32 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.5167, allocations: 4 kB / 444 MB, free: 4.316 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5168, allocations: 0 / 444 MB, free: 4.316 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5168, allocations: 0 / 444 MB, free: 4.316 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.5173, allocations: 389.3 kB / 444.4 MB, free: 3.906 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.083e-05/0.5174, allocations: 88.95 kB / 444.5 MB, free: 3.801 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.5175, allocations: 7.984 kB / 444.5 MB, free: 3.793 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.5177, allocations: 1.031 kB / 444.5 MB, free: 3.793 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.5178, allocations: 12 kB / 444.5 MB, free: 3.781 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.5178, allocations: 8 kB / 444.5 MB, free: 3.773 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.5179, allocations: 116.7 kB / 444.6 MB, free: 3.66 MB / 331.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.518, allocations: 0 / 444.6 MB, free: 3.66 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0005698/0.5185, allocations: 39.86 kB / 444.6 MB, free: 3.621 MB / 331.1 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.0009326/0.5195, allocations: 1.064 MB / 445.7 MB, free: 2.527 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.5199, allocations: 92.47 kB / 445.8 MB, free: 2.438 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5199, allocations: 0 / 445.8 MB, free: 2.438 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.52, allocations: 27.94 kB / 445.8 MB, free: 2.41 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.5205, allocations: 21.69 kB / 445.8 MB, free: 2.391 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.5224, allocations: 0.6352 MB / 446.5 MB, free: 1.723 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.5229, allocations: 0.7319 MB / 447.2 MB, free: 0.9648 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.5231, allocations: 51.42 kB / 447.3 MB, free: 0.9141 MB / 331.1 MB Notification: Performance of SimCode: time 1.313e-06/0.5231, allocations: 0 / 447.3 MB, free: 0.9141 MB / 331.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.591/3.114, allocations: 2.516 MB / 449.8 MB, free: 14.43 MB / 347.1 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