Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.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.001306/0.001306, allocations: 109.4 kB / 20.22 MB, free: 1.812 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.001415/0.001415, allocations: 219 kB / 23.48 MB, free: 5.254 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.392/1.392, allocations: 230.4 MB / 257 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 178] 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.First,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_First",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.001945/0.001945, allocations: 71.88 kB / 377.1 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2345, allocations: 53.32 MB / 430.4 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004076/0.2386, allocations: 2.392 MB / 432.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2398, allocations: 0.6544 MB / 433.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.2399, allocations: 4 kB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.2401, allocations: 39.59 kB / 433.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.2402, allocations: 79.27 kB / 433.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.2405, allocations: 67.84 kB / 433.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.2408, allocations: 274.7 kB / 433.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.241, allocations: 78.75 kB / 433.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.2413, allocations: 119.6 kB / 434.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.2415, allocations: 115.4 kB / 434.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.2415, allocations: 24 kB / 434.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.711e-05/0.2416, allocations: 20 kB / 434.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.2416, allocations: 47.84 kB / 434.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.2418, allocations: 119.4 kB / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.2421, allocations: 279.2 kB / 434.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2421, allocations: 3.938 kB / 434.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2421, allocations: 0 / 434.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.2422, allocations: 0 / 434.7 MB, free: 3.062 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008081/0.243, allocations: 0.526 MB / 435.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.243, allocations: 12.03 kB / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.2431, allocations: 50.73 kB / 435.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.2432, allocations: 40.73 kB / 435.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.2436, allocations: 248.7 kB / 435.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.2436, allocations: 24.81 kB / 435.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.2437, allocations: 24.33 kB / 435.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.244, allocations: 199.3 kB / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2441, allocations: 4 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.2441, allocations: 8 kB / 435.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2441, allocations: 4 kB / 435.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.2444, allocations: 141.7 kB / 435.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.2454, allocations: 0.6271 MB / 436.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.2457, allocations: 169.3 kB / 436.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.2458, allocations: 92.75 kB / 436.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2459, allocations: 4 kB / 436.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2459, allocations: 34.56 kB / 436.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.2459, allocations: 0 / 436.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001956/0.2479, allocations: 1.085 MB / 437.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.2479, allocations: 59.34 kB / 438 MB, free: 15.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.2481, allocations: 175.8 kB / 438.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.2481, allocations: 33.7 kB / 438.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2482, allocations: 140.9 kB / 438.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.2483, allocations: 126.9 kB / 438.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/0.2484, allocations: 53.7 kB / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2486, allocations: 330.8 kB / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.2487, allocations: 75.97 kB / 438.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.2489, allocations: 106.8 kB / 439 MB, free: 14.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.2492, allocations: 189 kB / 439.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.2492, allocations: 0 / 439.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005163/0.2497, allocations: 291.2 kB / 439.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2497, allocations: 8 kB / 439.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2497, allocations: 0 / 439.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.2499, allocations: 40.83 kB / 439.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.2502, allocations: 63.91 kB / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.2518, allocations: 1.732 MB / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.2519, allocations: 20.25 kB / 441.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.252, allocations: 12 kB / 441.4 MB, free: 11.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.2521, allocations: 137.8 kB / 441.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.2522, allocations: 27.8 kB / 441.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.2522, allocations: 30.64 kB / 441.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2522, allocations: 7.938 kB / 441.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2522, allocations: 0 / 441.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2522, allocations: 0 / 441.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.2534, allocations: 0.7893 MB / 442.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2534, allocations: 0 / 442.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.2537, allocations: 55.91 kB / 442.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.2538, allocations: 40.92 kB / 442.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.2538, allocations: 8 kB / 442.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.2552, allocations: 1.481 MB / 443.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.2552, allocations: 4.031 kB / 443.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.2559, allocations: 486.8 kB / 444.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.256, allocations: 101 kB / 444.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.256, allocations: 4 kB / 444.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.2561, allocations: 8 kB / 444.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.2562, allocations: 27.91 kB / 444.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2562, allocations: 8 kB / 444.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.2564, allocations: 140.3 kB / 444.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2564, allocations: 0 / 444.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003756/0.2567, allocations: 72 kB / 444.8 MB, free: 8.215 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/0.2578, allocations: 1.021 MB / 445.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006324/0.2585, allocations: 322.4 kB / 446.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2585, allocations: 0 / 446.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.2588, allocations: 242.6 kB / 446.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.2593, allocations: 58.55 kB / 446.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.2632, allocations: 2.767 MB / 449.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.2636, allocations: 0.7525 MB / 449.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.2637, allocations: 22.28 kB / 449.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.2639, allocations: 79.41 kB / 450 MB, free: 2.762 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2639, allocations: 3.938 kB / 450 MB, free: 2.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.2989, allocations: 5.319 MB / 455.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.912/10.21, allocations: 0 / 455.3 MB, free: 13.55 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_First_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_First.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.42318355012685] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.phi_rel', 'damper.w_rel', 'inertia3.phi', 'inertia3.w'] 10.29803184280172 10.323321432 10.076352737 Calling exit ...