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.001432/0.001432, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.89/1.89, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009708/0.0009707, allocations: 92.25 kB / 267.1 MB, free: 9.277 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.4002/0.4002, allocations: 43.48 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.805e-05/3.811e-05, allocations: 0 / 425.4 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1251, allocations: 58.84 MB / 484.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3904/0.5155, allocations: 89.52 MB / 0.5603 GB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.5158, allocations: 68.8 kB / 0.5604 GB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01548/0.5313, allocations: 6.096 MB / 0.5663 GB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5314, allocations: 0 / 0.5663 GB, free: 10.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.077e-05/0.5314, allocations: 14.25 kB / 0.5663 GB, free: 10.95 MB / 394.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.0007259/0.5321, allocations: 0.5235 MB / 0.5669 GB, free: 10.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.5322, allocations: 12.03 kB / 0.5669 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.149e-05/0.5323, allocations: 66.41 kB / 0.5669 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.5325, allocations: 55.05 kB / 0.567 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.5328, allocations: 262.6 kB / 0.5672 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.5328, allocations: 22.84 kB / 0.5673 GB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.5329, allocations: 33.73 kB / 0.5673 GB, free: 9.973 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.5333, allocations: 293.6 kB / 0.5676 GB, free: 9.742 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.5334, allocations: 7.906 kB / 0.5676 GB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.5334, allocations: 19.62 kB / 0.5676 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5334, allocations: 4 kB / 0.5676 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.5337, allocations: 167.4 kB / 0.5678 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.5352, allocations: 1.345 MB / 0.5691 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.5356, allocations: 248.3 kB / 0.5693 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.5357, allocations: 69.05 kB / 0.5694 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.5358, allocations: 4 kB / 0.5694 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.5358, allocations: 45.66 kB / 0.5694 GB, free: 7.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/0.5358, allocations: 0 / 0.5694 GB, free: 7.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003761/0.5362, allocations: 174.1 kB / 0.5696 GB, free: 7.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.5362, allocations: 166.2 kB / 0.5697 GB, free: 7.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.5364, allocations: 186 kB / 0.5699 GB, free: 7.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.5364, allocations: 25.7 kB / 0.5699 GB, free: 7.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.5365, allocations: 195.5 kB / 0.5701 GB, free: 7.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.5365, allocations: 92.5 kB / 0.5702 GB, free: 7.176 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.5365, allocations: 6.625 kB / 0.5702 GB, free: 7.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.5366, allocations: 341 kB / 0.5706 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.112e-05/0.5367, allocations: 56.31 kB / 0.5706 GB, free: 6.809 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.5368, allocations: 205.8 kB / 0.5708 GB, free: 6.574 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.537, allocations: 96.27 kB / 0.5709 GB, free: 6.508 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.537, allocations: 4 kB / 0.5709 GB, free: 6.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003613/0.5374, allocations: 303.3 kB / 0.5712 GB, free: 6.262 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5374, allocations: 9.312 kB / 0.5712 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.5374, allocations: 7.938 kB / 0.5712 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.5374, allocations: 12 kB / 0.5712 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.5377, allocations: 95.53 kB / 0.5713 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.5377, allocations: 8 kB / 0.5713 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.5379, allocations: 34.56 kB / 0.5713 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.5379, allocations: 12 kB / 0.5714 GB, free: 6.098 MB / 394.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 7.184e-05/0.538, allocations: 127.8 kB / 0.5715 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.5381, allocations: 31.64 kB / 0.5715 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.5383, allocations: 96.33 kB / 0.5716 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5383, allocations: 4 kB / 0.5716 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.5383, allocations: 3.953 kB / 0.5716 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5383, allocations: 0 / 0.5716 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.5388, allocations: 315.2 kB / 0.5719 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5388, allocations: 0 / 0.5719 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.5391, allocations: 71.58 kB / 0.572 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5391, allocations: 0 / 0.572 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.5391, allocations: 7.875 kB / 0.572 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5391, allocations: 4 kB / 0.572 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5391, allocations: 3.938 kB / 0.572 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.5396, allocations: 0.6807 MB / 0.5727 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.5396, allocations: 92.86 kB / 0.5727 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.5396, allocations: 7.875 kB / 0.5728 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.5399, allocations: 6.938 kB / 0.5728 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.5399, allocations: 19.91 kB / 0.5728 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.5399, allocations: 7.812 kB / 0.5728 GB, free: 4.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.154e-05/0.54, allocations: 143.4 kB / 0.5729 GB, free: 4.551 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.54, allocations: 0 / 0.5729 GB, free: 4.551 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004608/0.5405, allocations: 94.23 kB / 0.573 GB, free: 4.469 MB / 394.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.0005992/0.5411, allocations: 1.499 MB / 0.5745 GB, free: 2.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.5414, allocations: 182.6 kB / 0.5747 GB, free: 2.852 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5414, allocations: 0 / 0.5747 GB, free: 2.852 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.5415, allocations: 74.25 kB / 0.5747 GB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.5421, allocations: 51.8 kB / 0.5748 GB, free: 2.754 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.5436, allocations: 1.108 MB / 0.5759 GB, free: 1.652 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.5439, allocations: 0.7797 MB / 0.5766 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.544, allocations: 26.97 kB / 0.5766 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.5441, allocations: 90.53 kB / 0.5767 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of SimCode: time 4.3e-07/0.5441, allocations: 0 / 0.5767 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.5603, allocations: 4.824 MB / 0.5814 GB, free: 12.04 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.5606, allocations: 144.2 kB / 0.5816 GB, free: 11.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.375, allocations: 0 / 0.5816 GB, free: 11.81 MB / 410.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