Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 105.8 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 221.2 kB / 22.92 MB, free: 5.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 230.2 MB / 256.1 MB, free: 8.762 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2007/0.2007, allocations: 46.89 MB / 359.3 MB, free: 4.973 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 75.88 kB / 0.494 GB, free: 9.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2633, allocations: 65.99 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003886/0.2672, allocations: 3.058 MB / 0.5614 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.2688, allocations: 1.083 MB / 0.5624 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.2689, allocations: 11.94 kB / 0.5625 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.2691, allocations: 59.31 kB / 0.5625 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.2693, allocations: 123 kB / 0.5626 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.2697, allocations: 175.5 kB / 0.5628 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004491/0.2702, allocations: 457.8 kB / 0.5632 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2704, allocations: 78.27 kB / 0.5633 GB, free: 160 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.2706, allocations: 171.4 kB / 0.5635 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.2708, allocations: 171.2 kB / 0.5636 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.2708, allocations: 32 kB / 0.5637 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.2709, allocations: 51.98 kB / 0.5637 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.271, allocations: 71.7 kB / 0.5638 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.2712, allocations: 195.1 kB / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.2716, allocations: 442.2 kB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2716, allocations: 4 kB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2716, allocations: 0 / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2717, allocations: 0 / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009579/0.2726, allocations: 0.6663 MB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2726, allocations: 15.97 kB / 0.5651 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.417e-05/0.2727, allocations: 74.72 kB / 0.5651 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.273, allocations: 68.62 kB / 0.5652 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.2733, allocations: 299.4 kB / 0.5655 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.2734, allocations: 29.38 kB / 0.5655 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.2734, allocations: 44.08 kB / 0.5655 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.274, allocations: 355.6 kB / 0.5659 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.274, allocations: 11.92 kB / 0.5659 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.2741, allocations: 12 kB / 0.5659 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2741, allocations: 12 kB / 0.5659 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.2745, allocations: 219.8 kB / 0.5661 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.2766, allocations: 1.578 MB / 0.5677 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.2771, allocations: 303.7 kB / 0.568 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.2773, allocations: 89.06 kB / 0.568 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.2773, allocations: 12.14 kB / 0.5681 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2773, allocations: 38.56 kB / 0.5681 GB, free: 10.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.352e-06/0.2773, allocations: 0 / 0.5681 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006514/0.278, allocations: 273.5 kB / 0.5684 GB, free: 10.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/0.2781, allocations: 196 kB / 0.5685 GB, free: 10.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.2783, allocations: 246.5 kB / 0.5688 GB, free: 10.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.2783, allocations: 29.7 kB / 0.5688 GB, free: 10.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.2785, allocations: 216.3 kB / 0.569 GB, free: 9.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.397e-05/0.2785, allocations: 119 kB / 0.5691 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.2786, allocations: 74.09 kB / 0.5692 GB, free: 9.719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2788, allocations: 346.7 kB / 0.5695 GB, free: 9.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.2789, allocations: 76.84 kB / 0.5696 GB, free: 9.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.2792, allocations: 245.8 kB / 0.5698 GB, free: 8.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.2797, allocations: 365.1 kB / 0.5702 GB, free: 8.551 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2797, allocations: 0 / 0.5702 GB, free: 8.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006001/0.2803, allocations: 385.2 kB / 0.5706 GB, free: 8.168 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2803, allocations: 8 kB / 0.5706 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2803, allocations: 4 kB / 0.5706 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2803, allocations: 8 kB / 0.5706 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.2807, allocations: 112.1 kB / 0.5707 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2807, allocations: 8.312 kB / 0.5707 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.2809, allocations: 43.73 kB / 0.5707 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.2809, allocations: 27.92 kB / 0.5708 GB, free: 7.961 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.2811, allocations: 165.8 kB / 0.5709 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2812, allocations: 27.81 kB / 0.5709 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.2814, allocations: 95.33 kB / 0.571 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2814, allocations: 4 kB / 0.571 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2814, allocations: 0 / 0.571 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2814, allocations: 7.984 kB / 0.571 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.282, allocations: 349.3 kB / 0.5714 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.282, allocations: 96 / 0.5714 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.2824, allocations: 87.83 kB / 0.5715 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2824, allocations: 8 kB / 0.5715 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.2824, allocations: 11.98 kB / 0.5715 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.2825, allocations: 7.984 kB / 0.5715 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2825, allocations: 0 / 0.5715 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.2832, allocations: 0.7735 MB / 0.5722 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.2832, allocations: 104.9 kB / 0.5723 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.2833, allocations: 8 kB / 0.5723 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.2836, allocations: 8 kB / 0.5724 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.2836, allocations: 19.97 kB / 0.5724 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.2836, allocations: 11.94 kB / 0.5724 GB, free: 6.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.2838, allocations: 174 kB / 0.5725 GB, free: 6.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2838, allocations: 0 / 0.5725 GB, free: 6.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005504/0.2843, allocations: 99.78 kB / 0.5726 GB, free: 5.918 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,inertia6.w,inverseSpeedDependentTorque.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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009546/0.2853, allocations: 1.303 MB / 0.5739 GB, free: 4.586 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004466/0.2857, allocations: 225.2 kB / 0.5741 GB, free: 4.367 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2857, allocations: 4.125 kB / 0.5741 GB, free: 4.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.2859, allocations: 88.31 kB / 0.5742 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.2868, allocations: 76.91 kB / 0.5743 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/0.2914, allocations: 4.094 MB / 0.5783 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.2917, allocations: 0.7912 MB / 0.5791 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.2919, allocations: 38.89 kB / 0.5791 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.292, allocations: 119.4 kB / 0.5792 GB, free: 14.88 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.292, allocations: 0 / 0.5792 GB, free: 14.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.3215, allocations: 6.42 MB / 0.5855 GB, free: 8.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.321/7.643, allocations: 10.14 kB / 0.5855 GB, free: 8.559 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestBraking.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.077418292989023]