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.0016/0.0016, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001946/0.001946, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8 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.00202/0.00202, allocations: 72.77 kB / 378.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2529, allocations: 53.36 MB / 431.9 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003785/0.2567, allocations: 2.395 MB / 434.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.258, allocations: 0.6582 MB / 435 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.2582, allocations: 7.938 kB / 435 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.2583, allocations: 35.66 kB / 435 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.2585, allocations: 75.33 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.2587, allocations: 63.86 kB / 435.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.2591, allocations: 266.7 kB / 435.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.2592, allocations: 61.28 kB / 435.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.2595, allocations: 115.6 kB / 435.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.2596, allocations: 103.5 kB / 435.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.2597, allocations: 20 kB / 435.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.828e-05/0.2597, allocations: 24 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.2598, allocations: 51.77 kB / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2599, allocations: 115.4 kB / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.2603, allocations: 252.1 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2603, allocations: 0 / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2603, allocations: 7.938 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.2603, allocations: 0 / 436.1 MB, free: 2.922 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.0007572/0.261, allocations: 453.6 kB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2611, allocations: 8.031 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.281e-05/0.2611, allocations: 58.72 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.2613, allocations: 32.8 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.2617, allocations: 191.5 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.2617, allocations: 16.81 kB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.2617, allocations: 24.38 kB / 436.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.2621, allocations: 210 kB / 437.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.2621, allocations: 3.953 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.2621, allocations: 8 kB / 437.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.2622, allocations: 11.88 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.2624, allocations: 129.7 kB / 437.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2634, allocations: 0.6734 MB / 437.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.2637, allocations: 142.5 kB / 438.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.2639, allocations: 68.83 kB / 438.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.2639, allocations: 0 / 438.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.2639, allocations: 34.56 kB / 438.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.092e-06/0.2639, allocations: 0 / 438.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001612/0.2655, allocations: 0.7389 MB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.2656, allocations: 55.41 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.2658, allocations: 168.4 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.2658, allocations: 33.7 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2659, allocations: 152.3 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.266, allocations: 83.28 kB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.266, allocations: 45.72 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2662, allocations: 334.8 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.2663, allocations: 59.91 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.2665, allocations: 100.2 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.2667, allocations: 164.2 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2667, allocations: 0 / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004584/0.2672, allocations: 250.1 kB / 440.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2672, allocations: 11.94 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2672, allocations: 4.125 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.2674, allocations: 36.83 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.2676, allocations: 47.92 kB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.2689, allocations: 1.385 MB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.269, allocations: 12.02 kB / 441.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.2691, allocations: 12 kB / 441.8 MB, free: 12.81 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.0001455/0.2692, allocations: 137.8 kB / 442 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.2693, allocations: 27.86 kB / 442 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/0.2693, allocations: 17.97 kB / 442 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2693, allocations: 11.92 kB / 442 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2693, allocations: 0 / 442 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2693, allocations: 0 / 442 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009735/0.2703, allocations: 0.6176 MB / 442.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2703, allocations: 0 / 442.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.2705, allocations: 47.92 kB / 442.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.2706, allocations: 32.83 kB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.2707, allocations: 8 kB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.2719, allocations: 1.389 MB / 444.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2719, allocations: 0 / 444.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005963/0.2725, allocations: 406.7 kB / 444.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.2725, allocations: 23.8 kB / 444.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.2726, allocations: 4 kB / 444.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.2727, allocations: 12.03 kB / 444.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.2727, allocations: 23.91 kB / 444.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.2728, allocations: 8 kB / 444.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.2729, allocations: 129.2 kB / 444.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2729, allocations: 0 / 444.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003212/0.2732, allocations: 60 kB / 444.8 MB, free: 9.664 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.0009259/0.2741, allocations: 0.945 MB / 445.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005759/0.2747, allocations: 278.9 kB / 446 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2747, allocations: 0 / 446 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.275, allocations: 210.6 kB / 446.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.2754, allocations: 42.44 kB / 446.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.279, allocations: 2.547 MB / 448.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.2794, allocations: 0.7404 MB / 449.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.2795, allocations: 25.94 kB / 449.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.2796, allocations: 71.34 kB / 449.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2796, allocations: 4 kB / 449.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/0.3163, allocations: 4.944 MB / 454.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.54, allocations: 10.34 kB / 454.6 MB, free: 15.79 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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: 12.906441980972886] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.phi_rel', 'damper.w_rel', 'inertia3.phi', 'inertia3.w'] 10.62402489921078 10.651040578 10.385208709 Calling exit ...