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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 96.55 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 173.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3777/0.3777, allocations: 43.54 MB / 314.6 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000904/0.0009042, allocations: 12 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1307, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.002966/0.1337, allocations: 2.281 MB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1356, allocations: 0.944 MB / 446.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003255/0.136, allocations: 4 kB / 446.1 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.1362, allocations: 35.64 kB / 446.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1364, allocations: 95.28 kB / 446.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.1369, allocations: 103.8 kB / 446.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.1373, allocations: 358.1 kB / 446.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.1375, allocations: 73.67 kB / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.1376, allocations: 107.6 kB / 446.9 MB, free: 8.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1378, allocations: 135.3 kB / 447 MB, free: 8.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.1378, allocations: 16 kB / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.138, allocations: 35.98 kB / 447 MB, free: 8.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.138, allocations: 47.83 kB / 447.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.1381, allocations: 81.52 kB / 447.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.1384, allocations: 259.5 kB / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1384, allocations: 0 / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1384, allocations: 0 / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1384, allocations: 4 kB / 447.4 MB, free: 8.391 MB / 382.1 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.0008281/0.1392, allocations: 0.5458 MB / 448 MB, free: 7.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1393, allocations: 8.031 kB / 448 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.954e-05/0.1394, allocations: 62.53 kB / 448 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.1396, allocations: 55.52 kB / 448.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1399, allocations: 262.5 kB / 448.3 MB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.1399, allocations: 20.66 kB / 448.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/0.14, allocations: 35.91 kB / 448.4 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.1405, allocations: 294.7 kB / 448.7 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.1405, allocations: 7.938 kB / 448.7 MB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.1406, allocations: 15.95 kB / 448.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1406, allocations: 8 kB / 448.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.1409, allocations: 180.4 kB / 448.9 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.1429, allocations: 1.341 MB / 450.2 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.1433, allocations: 241 kB / 450.5 MB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1434, allocations: 76.31 kB / 450.5 MB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1435, allocations: 7.938 kB / 450.6 MB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1435, allocations: 42.56 kB / 450.6 MB, free: 4.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.943e-06/0.1435, allocations: 0 / 450.6 MB, free: 4.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005053/0.144, allocations: 217.3 kB / 450.8 MB, free: 4.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/0.1441, allocations: 170.1 kB / 451 MB, free: 4.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1443, allocations: 208.2 kB / 451.2 MB, free: 4.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1444, allocations: 29.7 kB / 451.2 MB, free: 4.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.1445, allocations: 195.8 kB / 451.4 MB, free: 4.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.1446, allocations: 90.73 kB / 451.5 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.1446, allocations: 4 kB / 451.5 MB, free: 3.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1447, allocations: 338.9 kB / 451.8 MB, free: 3.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1448, allocations: 63.97 kB / 451.9 MB, free: 3.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.145, allocations: 206.5 kB / 452.1 MB, free: 3.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.1452, allocations: 91.94 kB / 452.2 MB, free: 3.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1452, allocations: 3.953 kB / 452.2 MB, free: 3.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004554/0.1457, allocations: 312.9 kB / 452.5 MB, free: 2.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1457, allocations: 8 kB / 452.5 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1457, allocations: 4 kB / 452.5 MB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1458, allocations: 8 kB / 452.5 MB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.146, allocations: 88.03 kB / 452.6 MB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.1461, allocations: 12.52 kB / 452.6 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.1462, allocations: 43.59 kB / 452.6 MB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.1463, allocations: 16 kB / 452.7 MB, free: 2.711 MB / 382.1 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 () * Number of clocked 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 0.0001345/0.1464, allocations: 153.7 kB / 452.8 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.1465, allocations: 23.77 kB / 452.8 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.1467, allocations: 83.08 kB / 452.9 MB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1467, allocations: 4 kB / 452.9 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1467, allocations: 0 / 452.9 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.1467, allocations: 15.92 kB / 452.9 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.1473, allocations: 313.3 kB / 453.2 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1473, allocations: 0 / 453.2 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.1476, allocations: 67.92 kB / 453.3 MB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1476, allocations: 4 kB / 453.3 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.1477, allocations: 11.98 kB / 453.3 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1477, allocations: 0 / 453.3 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.1477, allocations: 8.031 kB / 453.3 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.1482, allocations: 0.6217 MB / 453.9 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.1483, allocations: 104.9 kB / 454.1 MB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.1483, allocations: 15.89 kB / 454.1 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.1486, allocations: 8 kB / 454.1 MB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.1486, allocations: 15.92 kB / 454.1 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.1486, allocations: 15.98 kB / 454.1 MB, free: 1.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1488, allocations: 149.6 kB / 454.3 MB, free: 1.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1488, allocations: 0 / 454.3 MB, free: 1.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004965/0.1493, allocations: 79.84 kB / 454.3 MB, free: 0.9297 MB / 382.1 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 () * Number of clocked 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.2512/0.4005, allocations: 1.163 MB / 455.5 MB, free: 45.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004442/0.401, allocations: 183.8 kB / 455.7 MB, free: 45.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.401, allocations: 0 / 455.7 MB, free: 45.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.4011, allocations: 75.22 kB / 455.7 MB, free: 45.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4021, allocations: 56 kB / 455.8 MB, free: 45.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.405, allocations: 2.295 MB / 458.1 MB, free: 44.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.4053, allocations: 0.7699 MB / 458.9 MB, free: 43.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.4054, allocations: 30.19 kB / 458.9 MB, free: 43.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.4056, allocations: 86.08 kB / 459 MB, free: 43.71 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4056, allocations: 0 / 459 MB, free: 43.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.4223, allocations: 4.862 MB / 463.8 MB, free: 43.26 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.4225, allocations: 176.4 kB / 464 MB, free: 43.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.135, allocations: 0 / 464 MB, free: 43.02 MB / 382.1 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) Environment - environmentSimulation: 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