Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.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.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_First",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.002183/0.002182, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001168/0.001168, allocations: 97.72 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004223, allocations: 8 kB / 327.1 MB, free: 120 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3325, allocations: 47.57 MB / 374.6 MB, free: 45.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.4578, allocations: 77.58 MB / 452.2 MB, free: 3.066 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.4581, allocations: 71.91 kB / 452.3 MB, free: 2.996 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01812/0.4763, allocations: 4.046 MB / 456.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4763, allocations: 0 / 456.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.752e-05/0.4764, allocations: 8 kB / 456.3 MB, free: 14.93 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009612/0.4773, allocations: 498.9 kB / 456.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4774, allocations: 8.031 kB / 456.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.689e-05/0.4775, allocations: 58.55 kB / 456.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.4776, allocations: 31.61 kB / 456.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.478, allocations: 231.4 kB / 457.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.478, allocations: 20.39 kB / 457.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.4781, allocations: 20 kB / 457.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005766/0.4787, allocations: 195.2 kB / 457.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.4787, allocations: 0 / 457.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.4788, allocations: 12 kB / 457.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.4788, allocations: 4 kB / 457.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.4793, allocations: 145.9 kB / 457.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.4808, allocations: 0.6273 MB / 458.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.4813, allocations: 188.8 kB / 458.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.4813, allocations: 416 / 458.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.4814, allocations: 38.56 kB / 458.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.4814, allocations: 4 kB / 458.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.00304/0.4844, allocations: 1.079 MB / 459.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.4845, allocations: 59.41 kB / 459.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.4848, allocations: 158.3 kB / 459.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.4848, allocations: 29.7 kB / 459.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.485, allocations: 199.1 kB / 459.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.4851, allocations: 110.3 kB / 460 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.4851, allocations: 8 kB / 460 MB, free: 10.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4853, allocations: 326.8 kB / 460.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.4856, allocations: 79.7 kB / 460.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.4859, allocations: 104.7 kB / 460.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.4862, allocations: 93.34 kB / 460.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4862, allocations: 0 / 460.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008382/0.4871, allocations: 284.1 kB / 460.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.4871, allocations: 4.938 kB / 460.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.4871, allocations: 3.953 kB / 460.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/0.4874, allocations: 52.89 kB / 460.9 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.4879, allocations: 59.91 kB / 461 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.4901, allocations: 1.581 MB / 462.6 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.4904, allocations: 8 kB / 462.6 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.4905, allocations: 12 kB / 462.6 MB, free: 8.203 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002385/0.4907, allocations: 141.7 kB / 462.7 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.4908, allocations: 23.86 kB / 462.8 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.968e-05/0.4909, allocations: 34.66 kB / 462.8 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4909, allocations: 4 kB / 462.8 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.491, allocations: 0 / 462.8 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.491, allocations: 3.984 kB / 462.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.4928, allocations: 0.7827 MB / 463.6 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.4929, allocations: 3.953 kB / 463.6 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.4934, allocations: 67.91 kB / 463.7 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.4937, allocations: 40.86 kB / 463.7 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.4937, allocations: 4 kB / 463.7 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.4955, allocations: 1.386 MB / 465.1 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4956, allocations: 3.938 kB / 465.1 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.4968, allocations: 0.5144 MB / 465.6 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4969, allocations: 101 kB / 465.7 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.497, allocations: 11.94 kB / 465.7 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.4972, allocations: 8 kB / 465.7 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/0.4973, allocations: 27.97 kB / 465.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.4974, allocations: 15.94 kB / 465.8 MB, free: 4.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.4975, allocations: 131.5 kB / 465.9 MB, free: 4.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4976, allocations: 0 / 465.9 MB, free: 4.621 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000567/0.4981, allocations: 68 kB / 466 MB, free: 4.555 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/0.4998, allocations: 1.271 MB / 467.2 MB, free: 3.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009959/0.5009, allocations: 338.5 kB / 467.6 MB, free: 2.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5009, allocations: 0 / 467.6 MB, free: 2.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005803/0.5015, allocations: 246.7 kB / 467.8 MB, free: 2.637 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.5021, allocations: 38.92 kB / 467.8 MB, free: 2.602 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.5064, allocations: 2.019 MB / 469.9 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.5069, allocations: 0.7717 MB / 470.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.5071, allocations: 67.42 kB / 470.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5071, allocations: 0 / 470.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.592/3.099, allocations: 4.751 MB / 475.5 MB, free: 10.9 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_First_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_First.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat