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.001276/0.001276, allocations: 118.6 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.001384/0.001384, 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 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.412/1.412, allocations: 230.5 MB / 254.7 MB, free: 14.99 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.001854/0.001854, allocations: 64.08 kB / 373.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.0983, allocations: 53.31 MB / 426.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004038/0.1023, allocations: 2.381 MB / 429.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1037, allocations: 0.6505 MB / 429.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.104, allocations: 7.938 kB / 429.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.1041, allocations: 35.66 kB / 429.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.1044, allocations: 83.27 kB / 430 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1047, allocations: 71.84 kB / 430.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.105, allocations: 258.8 kB / 430.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.1052, allocations: 78.77 kB / 430.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.1055, allocations: 119.5 kB / 430.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1056, allocations: 115.5 kB / 430.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.1057, allocations: 24 kB / 430.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.852e-05/0.1058, allocations: 20 kB / 430.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.1058, allocations: 59.77 kB / 430.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1059, allocations: 123.3 kB / 430.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.1063, allocations: 274.8 kB / 431.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1063, allocations: 0 / 431.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1063, allocations: 0 / 431.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.1063, allocations: 0 / 431.1 MB, free: 0.6289 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007902/0.1071, allocations: 0.526 MB / 431.7 MB, free: 56 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1072, allocations: 16.03 kB / 431.7 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1821/0.2892, allocations: 48.72 kB / 431.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.2894, allocations: 36.89 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.2898, allocations: 240.4 kB / 432 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.2898, allocations: 16.78 kB / 432 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.2899, allocations: 27.36 kB / 432.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.2903, allocations: 191.3 kB / 432.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.2903, allocations: 8.406 kB / 432.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.2903, allocations: 7 kB / 432.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-06/0.2903, allocations: 5.625 kB / 432.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.2906, allocations: 146.9 kB / 432.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/0.2914, allocations: 0.6342 MB / 433 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.2917, allocations: 164.8 kB / 433.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2919, allocations: 89.58 kB / 433.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.2919, allocations: 7.297 kB / 433.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.2919, allocations: 37.75 kB / 433.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.964e-06/0.2919, allocations: 0 / 433.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001631/0.2935, allocations: 1.084 MB / 434.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.2936, allocations: 51.91 kB / 434.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.2937, allocations: 184.1 kB / 434.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.2937, allocations: 33.83 kB / 434.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.2938, allocations: 141.1 kB / 434.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.2938, allocations: 116.9 kB / 434.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.2939, allocations: 52.75 kB / 435 MB, free: 9.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.626e-05/0.294, allocations: 333.5 kB / 435.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.2941, allocations: 70.81 kB / 435.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.2942, allocations: 104.6 kB / 435.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.2945, allocations: 189.1 kB / 435.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.2945, allocations: 3.438 kB / 435.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004394/0.295, allocations: 296.8 kB / 436 MB, free: 8.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.295, allocations: 5.125 kB / 436 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.295, allocations: 1.188 kB / 436 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.2951, allocations: 42.19 kB / 436 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.2954, allocations: 58.67 kB / 436.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.2964, allocations: 1.744 MB / 437.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.2966, allocations: 11.41 kB / 437.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.2966, allocations: 6.656 kB / 437.8 MB, free: 7.457 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.0001026/0.2967, allocations: 144.3 kB / 438 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.2967, allocations: 29.16 kB / 438 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.2968, allocations: 26.97 kB / 438 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2968, allocations: 7.562 kB / 438 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2968, allocations: 5.078 kB / 438 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2968, allocations: 0 / 438 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008946/0.2977, allocations: 0.7782 MB / 438.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2977, allocations: 6 kB / 438.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.2979, allocations: 59.42 kB / 438.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.298, allocations: 36.39 kB / 438.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.2981, allocations: 7.188 kB / 438.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007678/0.2988, allocations: 1.483 MB / 440.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2988, allocations: 1.062 kB / 440.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.2994, allocations: 487.7 kB / 440.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.2994, allocations: 97.67 kB / 441 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.2995, allocations: 9.516 kB / 441 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2996, allocations: 8.203 kB / 441 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.2996, allocations: 26.12 kB / 441 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.2997, allocations: 11.47 kB / 441 MB, free: 4.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.498e-05/0.2997, allocations: 137.3 kB / 441.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2997, allocations: 0 / 441.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000362/0.3001, allocations: 64.66 kB / 441.2 MB, free: 4.754 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.0007678/0.3009, allocations: 1.023 MB / 442.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005728/0.3015, allocations: 330.2 kB / 442.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3015, allocations: 1.156 kB / 442.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.3018, allocations: 233.5 kB / 442.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.3022, allocations: 50.89 kB / 442.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.3053, allocations: 2.76 MB / 445.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.3056, allocations: 0.76 MB / 446.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.3057, allocations: 28 kB / 446.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3058, allocations: 76.08 kB / 446.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3058, allocations: 0.5625 kB / 446.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03631/0.3421, allocations: 5.346 MB / 451.8 MB, free: 152 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.58, allocations: 12.08 kB / 451.8 MB, free: 144 kB / 350.1 MB " [Timeout remaining time 649] (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.830796267837286] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.phi_rel', 'damper.w_rel', 'inertia3.phi', 'inertia3.w'] 10.663165349047631 10.679316676 10.569914122 Calling exit ...