Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.00205/0.00205, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002482/0.002482, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.FirstGrounded,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_FirstGrounded",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.002128/0.002128, allocations: 68.77 kB / 378.5 MB, free: 3.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2559, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003916/0.2598, allocations: 2.388 MB / 434.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.2612, allocations: 0.6622 MB / 435 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.2614, allocations: 7.938 kB / 435 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.2616, allocations: 31.66 kB / 435 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.2618, allocations: 75.33 kB / 435.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.2621, allocations: 63.81 kB / 435.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.2625, allocations: 266.7 kB / 435.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.2626, allocations: 65.27 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.2629, allocations: 111.6 kB / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.2631, allocations: 111.5 kB / 435.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.2631, allocations: 16 kB / 435.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.301e-05/0.2632, allocations: 24 kB / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.176e-05/0.2633, allocations: 51.77 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.2634, allocations: 111.4 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.2638, allocations: 255.8 kB / 436.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2638, allocations: 0 / 436.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2638, allocations: 0 / 436.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.2638, allocations: 3.938 kB / 436.1 MB, free: 2.672 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008118/0.2646, allocations: 453.5 kB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.2646, allocations: 15.97 kB / 436.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.2647, allocations: 50.73 kB / 436.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.2649, allocations: 36.78 kB / 436.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.2653, allocations: 186.8 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.2653, allocations: 20.81 kB / 436.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.2654, allocations: 16.38 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.2658, allocations: 210 kB / 437.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.2658, allocations: 11.94 kB / 437.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.2658, allocations: 8 kB / 437.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.2658, allocations: 4 kB / 437.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.2661, allocations: 133.6 kB / 437.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.2672, allocations: 0.6695 MB / 437.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.2675, allocations: 141.3 kB / 438.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.2676, allocations: 64.83 kB / 438.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.2676, allocations: 4 kB / 438.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.2676, allocations: 42.56 kB / 438.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/0.2676, allocations: 0 / 438.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001695/0.2693, allocations: 0.7398 MB / 438.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.2694, allocations: 55.41 kB / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.2696, allocations: 180.3 kB / 439.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.2696, allocations: 29.7 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2698, allocations: 148.4 kB / 439.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.2698, allocations: 87.22 kB / 439.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.2699, allocations: 45.7 kB / 439.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.2701, allocations: 334.8 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2702, allocations: 55.98 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.2704, allocations: 100.2 kB / 439.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.2707, allocations: 168.2 kB / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2707, allocations: 3.938 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004919/0.2712, allocations: 254.1 kB / 440.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.2712, allocations: 6.656 kB / 440.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2712, allocations: 3.938 kB / 440.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/0.2714, allocations: 36.97 kB / 440.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.2716, allocations: 47.91 kB / 440.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.273, allocations: 1.385 MB / 441.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2732, allocations: 8.031 kB / 441.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.2732, allocations: 8 kB / 441.8 MB, free: 12.56 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * 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: 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 prepare postOptimizeDAE: time 0.0001617/0.2733, allocations: 137.8 kB / 442 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.2734, allocations: 23.84 kB / 442 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.596e-05/0.2735, allocations: 30.03 kB / 442 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2735, allocations: 3.938 kB / 442 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.2735, allocations: 4 kB / 442 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2735, allocations: 3.984 kB / 442 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.2745, allocations: 0.6061 MB / 442.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2745, allocations: 8.062 kB / 442.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.2747, allocations: 43.91 kB / 442.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/0.2748, allocations: 32.84 kB / 442.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.2749, allocations: 11.98 kB / 442.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.2762, allocations: 1.385 MB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2762, allocations: 0 / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006534/0.2769, allocations: 410.7 kB / 444.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.2769, allocations: 19.86 kB / 444.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.2769, allocations: 4 kB / 444.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2771, allocations: 8 kB / 444.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.2771, allocations: 23.94 kB / 444.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.2772, allocations: 12 kB / 444.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.2773, allocations: 125.2 kB / 444.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2773, allocations: 0 / 444.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.2776, allocations: 56 kB / 444.8 MB, free: 9.422 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.001022/0.2787, allocations: 0.938 MB / 445.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006523/0.2793, allocations: 286.7 kB / 446 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2793, allocations: 256 / 446 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.2797, allocations: 209.4 kB / 446.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.2801, allocations: 47.86 kB / 446.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.2837, allocations: 2.543 MB / 448.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.2842, allocations: 0.7482 MB / 449.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.2843, allocations: 25.94 kB / 449.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.2844, allocations: 71.41 kB / 449.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of SimCode: time 1.293e-06/0.2844, allocations: 3.938 kB / 449.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.3205, allocations: 4.935 MB / 454.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.54, allocations: 14.58 kB / 454.6 MB, free: 15.54 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.027241297997534] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.phi_rel', 'damper.w_rel', 'inertia3.phi', 'inertia3.w'] 10.635196651797742 10.651033775 10.38391312 Calling exit ...