Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001313/0.001313, 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.001318/0.001318, allocations: 221 kB / 22.92 MB, free: 5.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.287/1.287, allocations: 230.5 MB / 256.4 MB, free: 8.43 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_CompareBrakingTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_CompareBrakingTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001785/0.001785, allocations: 75.81 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1989, allocations: 53.32 MB / 429.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.003122/0.202, allocations: 2.293 MB / 431.7 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2033, allocations: 0.7751 MB / 432.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.235e-05/0.2033, allocations: 11.88 kB / 432.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.2035, allocations: 31.66 kB / 432.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.2037, allocations: 87.27 kB / 432.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.2039, allocations: 111.8 kB / 432.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.2042, allocations: 294.7 kB / 433 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2043, allocations: 52.31 kB / 433 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.2045, allocations: 107.6 kB / 433.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.2046, allocations: 119.5 kB / 433.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.2046, allocations: 20 kB / 433.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.85e-05/0.2047, allocations: 20 kB / 433.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.2047, allocations: 47.78 kB / 433.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.2048, allocations: 131.3 kB / 433.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.2051, allocations: 263.3 kB / 433.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2051, allocations: 0 / 433.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2051, allocations: 0 / 433.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2051, allocations: 4 kB / 433.7 MB, free: 3.051 MB / 334.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.0007023/0.2058, allocations: 0.526 MB / 434.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2059, allocations: 12.03 kB / 434.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/0.2059, allocations: 54.72 kB / 434.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.206, allocations: 32.75 kB / 434.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.2063, allocations: 256 kB / 434.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.2063, allocations: 16.81 kB / 434.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.2063, allocations: 24.38 kB / 434.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.2067, allocations: 238.8 kB / 434.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.2067, allocations: 7.953 kB / 434.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.2067, allocations: 8 kB / 434.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2067, allocations: 8 kB / 434.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.2071, allocations: 143.8 kB / 435 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.2083, allocations: 1.057 MB / 436.1 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.2087, allocations: 202.3 kB / 436.3 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.2089, allocations: 67.48 kB / 436.4 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2089, allocations: 8 kB / 436.4 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.2089, allocations: 38.44 kB / 436.4 MB, free: 116 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.2089, allocations: 0 / 436.4 MB, free: 116 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005273/0.2094, allocations: 186.2 kB / 436.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.2095, allocations: 148.4 kB / 436.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.2097, allocations: 186.8 kB / 436.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.2097, allocations: 29.7 kB / 436.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2098, allocations: 168.1 kB / 437.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.2099, allocations: 67.44 kB / 437.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.2099, allocations: 53.66 kB / 437.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2101, allocations: 334.8 kB / 437.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.2102, allocations: 55.97 kB / 437.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.2104, allocations: 165.6 kB / 437.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.2108, allocations: 241.5 kB / 438 MB, free: 14.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2108, allocations: 0 / 438 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004449/0.2112, allocations: 257.5 kB / 438.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2112, allocations: 15.06 kB / 438.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2112, allocations: 8 kB / 438.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2112, allocations: 4 kB / 438.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.2115, allocations: 72.22 kB / 438.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.2115, allocations: 4 kB / 438.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.2116, allocations: 35.77 kB / 438.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.2117, allocations: 12 kB / 438.4 MB, free: 13.94 MB / 350.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.0001153/0.2118, allocations: 133.8 kB / 438.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.2119, allocations: 23.88 kB / 438.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.2119, allocations: 28.92 kB / 438.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2119, allocations: 0 / 438.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2119, allocations: 4 kB / 438.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.2119, allocations: 4 kB / 438.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.2123, allocations: 269.4 kB / 438.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.2123, allocations: 3.984 kB / 438.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.2126, allocations: 59.91 kB / 438.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2126, allocations: 3.938 kB / 438.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.2126, allocations: 4 kB / 438.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.2126, allocations: 0 / 438.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2126, allocations: 0 / 438.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.2132, allocations: 0.5245 MB / 439.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.2133, allocations: 96.89 kB / 439.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.2133, allocations: 8 kB / 439.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.2135, allocations: 11.98 kB / 439.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.2135, allocations: 11.98 kB / 439.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2135, allocations: 4 kB / 439.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.2136, allocations: 144.9 kB / 439.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2136, allocations: 4 kB / 439.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003987/0.214, allocations: 59.84 kB / 439.8 MB, free: 12.46 MB / 350.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.0007994/0.2148, allocations: 1.069 MB / 440.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003425/0.2152, allocations: 152.5 kB / 441 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2152, allocations: 4.125 kB / 441 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.2153, allocations: 67.84 kB / 441.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.2159, allocations: 62.22 kB / 441.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.2194, allocations: 3.071 MB / 444.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.2197, allocations: 0.7401 MB / 445 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.853e-05/0.2198, allocations: 30.28 kB / 445 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/0.2199, allocations: 67.42 kB / 445 MB, free: 6.969 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2199, allocations: 0 / 445 MB, free: 6.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.2464, allocations: 4.693 MB / 449.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.422, allocations: 11.67 kB / 449.8 MB, free: 2.363 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_CompareBrakingTorque_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_CompareBrakingTorque.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.43091370700131]