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.001673/0.001673, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001927/0.001927, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.492/1.492, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.001964/0.001964, allocations: 75.81 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1074, allocations: 53.32 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004107/0.1115, allocations: 2.385 MB / 429.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1128, allocations: 0.6427 MB / 430 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.113, allocations: 7.938 kB / 430 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.1132, allocations: 39.64 kB / 430.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.1134, allocations: 71.34 kB / 430.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1136, allocations: 67.84 kB / 430.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.114, allocations: 258.8 kB / 430.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.1142, allocations: 60.36 kB / 430.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.1144, allocations: 111.6 kB / 430.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.1146, allocations: 107.5 kB / 430.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.1146, allocations: 20 kB / 430.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.242e-05/0.1147, allocations: 24 kB / 430.8 MB, free: 1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.1147, allocations: 47.78 kB / 430.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1149, allocations: 115.5 kB / 430.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.1152, allocations: 254.8 kB / 431.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1152, allocations: 8 kB / 431.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1152, allocations: 0 / 431.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.1152, allocations: 0 / 431.2 MB, free: 0.582 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007785/0.116, allocations: 0.5143 MB / 431.7 MB, free: 20 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1161, allocations: 8.031 kB / 431.7 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2057/0.3218, allocations: 56.44 kB / 431.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.322, allocations: 35.33 kB / 431.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.3225, allocations: 235.8 kB / 432 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.3225, allocations: 17.31 kB / 432.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.3226, allocations: 19.55 kB / 432.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.323, allocations: 211.5 kB / 432.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.323, allocations: 9.797 kB / 432.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.323, allocations: 13.55 kB / 432.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.323, allocations: 7.25 kB / 432.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.3233, allocations: 129.2 kB / 432.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009891/0.3243, allocations: 0.7081 MB / 433.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.3246, allocations: 141.3 kB / 433.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.3247, allocations: 62.02 kB / 433.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3247, allocations: 4.828 kB / 433.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.3248, allocations: 36.31 kB / 433.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.3248, allocations: 0 / 433.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001559/0.3263, allocations: 0.8921 MB / 434.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.3264, allocations: 55.19 kB / 434.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.3265, allocations: 173.6 kB / 434.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3265, allocations: 31.58 kB / 434.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.3266, allocations: 149.4 kB / 434.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.3267, allocations: 87.61 kB / 434.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.3267, allocations: 53.11 kB / 434.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.3268, allocations: 332.9 kB / 435.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3269, allocations: 57.56 kB / 435.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.327, allocations: 104.1 kB / 435.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.3273, allocations: 169.6 kB / 435.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3273, allocations: 0.6562 kB / 435.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004274/0.3277, allocations: 250.9 kB / 435.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3277, allocations: 5.375 kB / 435.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3278, allocations: 3.547 kB / 435.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.3279, allocations: 34.92 kB / 435.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.3281, allocations: 52.16 kB / 435.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000975/0.3291, allocations: 1.49 MB / 437.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.3292, allocations: 9.875 kB / 437.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.3293, allocations: 12.69 kB / 437.3 MB, free: 7.766 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.0001059/0.3294, allocations: 135.8 kB / 437.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.3294, allocations: 16.97 kB / 437.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.3295, allocations: 26.36 kB / 437.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3295, allocations: 2.188 kB / 437.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.3295, allocations: 7.797 kB / 437.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3295, allocations: 4.516 kB / 437.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008732/0.3304, allocations: 0.6444 MB / 438.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.3304, allocations: 1.188 kB / 438.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.3306, allocations: 48.91 kB / 438.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.3307, allocations: 30.75 kB / 438.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.3307, allocations: 6.219 kB / 438.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008382/0.3315, allocations: 1.489 MB / 439.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3315, allocations: 4.812 kB / 439.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.3321, allocations: 402.9 kB / 440.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.3321, allocations: 97.86 kB / 440.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.3321, allocations: 6.438 kB / 440.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3323, allocations: 6.656 kB / 440.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.3323, allocations: 20 kB / 440.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3323, allocations: 9.781 kB / 440.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.354e-05/0.3324, allocations: 128.5 kB / 440.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3324, allocations: 1.312 kB / 440.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.3328, allocations: 53.84 kB / 440.4 MB, free: 5.207 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.0006842/0.3335, allocations: 0.9366 MB / 441.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005196/0.334, allocations: 285.1 kB / 441.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.334, allocations: 1.344 kB / 441.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.3343, allocations: 213.3 kB / 441.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.3347, allocations: 57 kB / 441.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.3377, allocations: 2.541 MB / 444.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.3379, allocations: 0.7485 MB / 445.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.569e-05/0.338, allocations: 19.44 kB / 445.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.3381, allocations: 69.67 kB / 445.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3381, allocations: 0 / 445.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/0.3773, allocations: 4.824 MB / 450.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.6, allocations: 1.344 kB / 450.1 MB, free: 0.8242 MB / 350.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.159878331236541] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.phi_rel', 'damper.w_rel', 'inertia3.phi', 'inertia3.w'] 10.684988134074956 10.710581782 10.590650863 Calling exit ...