Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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.001352/0.001352, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001298/0.001298, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.448/1.448, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_CompareBrakingTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_CompareBrakingTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.09734, allocations: 53.32 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.003452/0.1008, allocations: 2.288 MB / 428.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1022, allocations: 0.7634 MB / 429.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1023, allocations: 7.938 kB / 429.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.1024, allocations: 35.59 kB / 429.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.1027, allocations: 83.33 kB / 429.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.103, allocations: 119.7 kB / 430 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.1034, allocations: 290.7 kB / 430.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1035, allocations: 44.38 kB / 430.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.1036, allocations: 115.5 kB / 430.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1038, allocations: 119.5 kB / 430.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.1038, allocations: 20 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.653e-05/0.1039, allocations: 20 kB / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.1039, allocations: 51.78 kB / 430.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.104, allocations: 123.4 kB / 430.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.1043, allocations: 266.8 kB / 431 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1044, allocations: 4 kB / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1044, allocations: 0 / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1044, allocations: 0 / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008369/0.1052, allocations: 0.5248 MB / 431.5 MB, free: 72 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1052, allocations: 15.97 kB / 431.5 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.835e-05/0.1053, allocations: 54.8 kB / 431.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.1054, allocations: 32.75 kB / 431.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.1058, allocations: 263.8 kB / 431.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.1058, allocations: 16.81 kB / 431.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.1058, allocations: 24.38 kB / 431.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.1062, allocations: 238.8 kB / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.1063, allocations: 7.953 kB / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1063, allocations: 12 kB / 432.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.1063, allocations: 8 kB / 432.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.1066, allocations: 135.8 kB / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.108, allocations: 1.057 MB / 433.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.1085, allocations: 206.3 kB / 433.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1086, allocations: 71.48 kB / 433.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1087, allocations: 3.984 kB / 433.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.1087, allocations: 42.44 kB / 433.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.1087, allocations: 0 / 433.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005501/0.1092, allocations: 193.5 kB / 433.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.1093, allocations: 140.4 kB / 434 MB, free: 13.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.1095, allocations: 186.8 kB / 434.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1095, allocations: 29.7 kB / 434.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1096, allocations: 168.1 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.1097, allocations: 67.44 kB / 434.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.1098, allocations: 49.66 kB / 434.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1099, allocations: 338.8 kB / 434.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1101, allocations: 51.97 kB / 434.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.1103, allocations: 165.7 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.1106, allocations: 237.5 kB / 435.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.1107, allocations: 4 kB / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004656/0.1111, allocations: 253.2 kB / 435.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1111, allocations: 11.94 kB / 435.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1111, allocations: 384 / 435.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1112, allocations: 12 kB / 435.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.1114, allocations: 67.84 kB / 435.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1114, allocations: 4 kB / 435.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.1116, allocations: 40.45 kB / 435.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.1116, allocations: 12 kB / 435.7 MB, free: 11.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 32 * 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.0001324/0.1117, allocations: 137.8 kB / 435.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.1118, allocations: 19.84 kB / 435.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.1119, allocations: 20.92 kB / 435.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1119, allocations: 8 kB / 435.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1119, allocations: 0 / 435.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1119, allocations: 4 kB / 435.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.1124, allocations: 273.4 kB / 436.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.1124, allocations: 7.969 kB / 436.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.1127, allocations: 51.91 kB / 436.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.1127, allocations: 7.938 kB / 436.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1127, allocations: 4 kB / 436.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1127, allocations: 8.234 kB / 436.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1127, allocations: 4 kB / 436.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.1133, allocations: 0.5245 MB / 436.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.1134, allocations: 96.95 kB / 436.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1134, allocations: 0 / 436.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.1136, allocations: 11.98 kB / 436.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.1137, allocations: 15.98 kB / 436.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1137, allocations: 8 kB / 436.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1138, allocations: 140.9 kB / 437 MB, free: 10.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1138, allocations: 0 / 437 MB, free: 10.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004407/0.1142, allocations: 63.84 kB / 437 MB, free: 10.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,signTorque.phi,inertia2.w,linearSpeedDependentTorque.phi,inertia3.w,quadraticSpeedDependentTorque.phi,inertia4.w,inverseSpeedDependentTorque.phi) * 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 (16): * Single equations (assignments): 16 * 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.0009066/0.1151, allocations: 1.067 MB / 438.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.1155, allocations: 152.2 kB / 438.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1155, allocations: 3.938 kB / 438.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.1157, allocations: 63.84 kB / 438.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006879/0.1164, allocations: 53.59 kB / 438.4 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.1204, allocations: 3.076 MB / 441.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1207, allocations: 0.748 MB / 442.2 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.1209, allocations: 22.28 kB / 442.2 MB, free: 4.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.121, allocations: 67.42 kB / 442.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.121, allocations: 4 kB / 442.3 MB, free: 4.551 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2212/0.3421, allocations: 4.708 MB / 447 MB, free: 25.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.303, allocations: 7.344 kB / 447 MB, free: 25.34 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_CompareBrakingTorque_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_CompareBrakingTorque.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.23354759812355] Failed to read output from testmodel.py, exit status != 0: 8.374337969813496 8.394658197 8.286422971 Calling exit ...