Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Rotational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestBraking",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.001393/0.001392, allocations: 181.4 kB / 8.009 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009499/0.0009498, allocations: 86.64 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2401/0.2401, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.633e-05/1.635e-05, allocations: 0 / 418.3 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.5179, allocations: 88.85 MB / 0.5528 GB, free: 6.426 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001414/0.5181, allocations: 65.56 kB / 0.5529 GB, free: 6.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01411/0.5322, allocations: 6.059 MB / 0.5588 GB, free: 1.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5322, allocations: 4 kB / 0.5588 GB, free: 1.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.872e-05/0.5322, allocations: 4 kB / 0.5588 GB, free: 1.484 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0005887/0.5328, allocations: 0.5204 MB / 0.5593 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5329, allocations: 8.031 kB / 0.5593 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.5331, allocations: 51.61 kB / 0.5593 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.5333, allocations: 262.8 kB / 0.5596 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5334, allocations: 8 kB / 0.5596 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.5334, allocations: 27.5 kB / 0.5596 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002616/0.5337, allocations: 144.5 kB / 0.5598 GB, free: 484 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.534, allocations: 244.6 kB / 0.56 GB, free: 264 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.534, allocations: 14.97 kB / 0.56 GB, free: 252 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.5341, allocations: 0 / 0.56 GB, free: 252 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.5341, allocations: 8 kB / 0.56 GB, free: 244 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.5359, allocations: 1.287 MB / 0.5613 GB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.5363, allocations: 224 kB / 0.5615 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.537e-05/0.5364, allocations: 67.73 kB / 0.5616 GB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.5364, allocations: 7.984 kB / 0.5616 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.5364, allocations: 41.88 kB / 0.5616 GB, free: 14.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.5364, allocations: 0 / 0.5616 GB, free: 14.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003504/0.5368, allocations: 155.3 kB / 0.5618 GB, free: 14.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.5369, allocations: 158.2 kB / 0.5619 GB, free: 14.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.537, allocations: 172.4 kB / 0.5621 GB, free: 14.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.537, allocations: 25.7 kB / 0.5621 GB, free: 14.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.5372, allocations: 190.4 kB / 0.5623 GB, free: 13.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.5372, allocations: 93.91 kB / 0.5624 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.5372, allocations: 0 / 0.5624 GB, free: 13.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5374, allocations: 334.5 kB / 0.5627 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.5375, allocations: 62.58 kB / 0.5627 GB, free: 13.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.5376, allocations: 188.8 kB / 0.5629 GB, free: 13.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.5378, allocations: 87.14 kB / 0.563 GB, free: 13.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5378, allocations: 0 / 0.563 GB, free: 13.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003674/0.5382, allocations: 275.6 kB / 0.5633 GB, free: 13.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.5382, allocations: 8 kB / 0.5633 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5382, allocations: 4 kB / 0.5633 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5382, allocations: 8 kB / 0.5633 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.5385, allocations: 87.66 kB / 0.5634 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.5385, allocations: 16.45 kB / 0.5634 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.5387, allocations: 31.69 kB / 0.5634 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.5387, allocations: 19.58 kB / 0.5634 GB, free: 12.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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 8.344e-05/0.5388, allocations: 116.8 kB / 0.5635 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002901/0.5391, allocations: 155.9 kB / 0.5637 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.5e-05/0.5392, allocations: 23.69 kB / 0.5637 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.5394, allocations: 74.83 kB / 0.5638 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.5394, allocations: 4 kB / 0.5638 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5394, allocations: 7.984 kB / 0.5638 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.5394, allocations: 4 kB / 0.5638 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.5399, allocations: 266.5 kB / 0.5641 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5399, allocations: 0 / 0.5641 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.5403, allocations: 67.91 kB / 0.5641 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5403, allocations: 0 / 0.5641 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.5403, allocations: 11.86 kB / 0.5641 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5403, allocations: 4 kB / 0.5641 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5403, allocations: 0 / 0.5641 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.5408, allocations: 0.6605 MB / 0.5648 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.5409, allocations: 96.84 kB / 0.5649 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.541, allocations: 11.5 kB / 0.5649 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.5412, allocations: 4 kB / 0.5649 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.5412, allocations: 7.984 kB / 0.5649 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.5413, allocations: 15.92 kB / 0.5649 GB, free: 11.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.768e-05/0.5414, allocations: 124.8 kB / 0.565 GB, free: 11.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5414, allocations: 0 / 0.565 GB, free: 11.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005026/0.5419, allocations: 75.75 kB / 0.5651 GB, free: 11.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0009485/0.5428, allocations: 1.481 MB / 0.5665 GB, free: 9.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.5432, allocations: 166.2 kB / 0.5667 GB, free: 9.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5432, allocations: 0 / 0.5667 GB, free: 9.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.5433, allocations: 68.98 kB / 0.5668 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.5438, allocations: 59.72 kB / 0.5668 GB, free: 9.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.5457, allocations: 1.07 MB / 0.5679 GB, free: 8.414 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.546, allocations: 0.7797 MB / 0.5686 GB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.5462, allocations: 26.08 kB / 0.5687 GB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.5463, allocations: 88.83 kB / 0.5687 GB, free: 7.555 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5463, allocations: 0 / 0.5687 GB, free: 7.555 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.5698, allocations: 4.38 MB / 0.573 GB, free: 3.203 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.5701, allocations: 120 kB / 0.5731 GB, free: 3.016 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.267, allocations: 4 kB / 0.5731 GB, free: 3.012 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.mat does not exist to compare? outputFormat=mat