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.001308/0.001308, allocations: 117.8 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.001406/0.001406, allocations: 216.9 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.417/1.417, allocations: 230.5 MB / 254.7 MB, free: 15.22 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.001877/0.001877, allocations: 68.02 kB / 373.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.1006, allocations: 53.31 MB / 426.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003741/0.1044, allocations: 2.389 MB / 429.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1056, allocations: 0.6427 MB / 429.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.1057, allocations: 7.938 kB / 429.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.1059, allocations: 39.66 kB / 430 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.106, allocations: 71.34 kB / 430 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1063, allocations: 67.84 kB / 430.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.1066, allocations: 250.8 kB / 430.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.1068, allocations: 64.36 kB / 430.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.107, allocations: 111.5 kB / 430.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.1071, allocations: 107.5 kB / 430.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.1072, allocations: 24 kB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.328e-05/0.1072, allocations: 20 kB / 430.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.1073, allocations: 51.78 kB / 430.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.1074, allocations: 111.5 kB / 430.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.1077, allocations: 258.8 kB / 431.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1077, allocations: 0 / 431.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1077, allocations: 4 kB / 431.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1077, allocations: 0 / 431.1 MB, free: 0.707 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.0007626/0.1085, allocations: 0.5144 MB / 431.6 MB, free: 148 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1085, allocations: 11.97 kB / 431.6 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.272e-05/0.1086, allocations: 58.73 kB / 431.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.1088, allocations: 36.78 kB / 431.7 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1091, allocations: 244.6 kB / 431.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.1092, allocations: 16.81 kB / 431.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.1092, allocations: 16.38 kB / 432 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.1096, allocations: 214 kB / 432.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.1096, allocations: 7.953 kB / 432.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.1096, allocations: 8 kB / 432.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1096, allocations: 11.92 kB / 432.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.1099, allocations: 133.6 kB / 432.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.1109, allocations: 0.6978 MB / 433 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.1112, allocations: 140.7 kB / 433.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.1113, allocations: 67.06 kB / 433.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.1113, allocations: 4 kB / 433.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1114, allocations: 34.56 kB / 433.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 4.639e-06/0.1114, allocations: 4 kB / 433.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001581/0.113, allocations: 0.8866 MB / 434.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.113, allocations: 55.41 kB / 434.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.1132, allocations: 175.5 kB / 434.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1132, allocations: 33.7 kB / 434.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1133, allocations: 148.3 kB / 434.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/0.1134, allocations: 95.2 kB / 434.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.1135, allocations: 49.69 kB / 434.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1136, allocations: 326.8 kB / 435 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1137, allocations: 55.97 kB / 435.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.1139, allocations: 104.2 kB / 435.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.1141, allocations: 164.2 kB / 435.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1141, allocations: 4 kB / 435.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004686/0.1146, allocations: 258 kB / 435.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1146, allocations: 8 kB / 435.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1146, allocations: 0 / 435.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001625/0.1148, allocations: 32.83 kB / 435.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.115, allocations: 47.97 kB / 435.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.1164, allocations: 1.485 MB / 437.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1165, allocations: 12.06 kB / 437.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1165, allocations: 11.94 kB / 437.2 MB, free: 10.07 MB / 366.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.0001387/0.1166, allocations: 129.8 kB / 437.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.1167, allocations: 19.86 kB / 437.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.1167, allocations: 29.86 kB / 437.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1167, allocations: 7.938 kB / 437.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1167, allocations: 0 / 437.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1167, allocations: 7.938 kB / 437.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009298/0.1177, allocations: 0.6491 MB / 438 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1177, allocations: 144 / 438 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.1179, allocations: 43.97 kB / 438.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.118, allocations: 44.88 kB / 438.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.118, allocations: 3.938 kB / 438.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.1193, allocations: 1.481 MB / 439.6 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.1193, allocations: 7.969 kB / 439.6 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.1199, allocations: 403.9 kB / 440 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/0.1199, allocations: 96.97 kB / 440.1 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.12, allocations: 4 kB / 440.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1201, allocations: 12.03 kB / 440.1 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.1202, allocations: 19.92 kB / 440.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1202, allocations: 4 kB / 440.1 MB, free: 6.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1203, allocations: 132.1 kB / 440.3 MB, free: 6.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1203, allocations: 0 / 440.3 MB, free: 6.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003387/0.1206, allocations: 64 kB / 440.3 MB, free: 6.672 MB / 366.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.0009236/0.1215, allocations: 0.9337 MB / 441.3 MB, free: 5.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006735/0.1222, allocations: 282.4 kB / 441.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1222, allocations: 4 kB / 441.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.1227, allocations: 202.9 kB / 441.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.1233, allocations: 49.31 kB / 441.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.1284, allocations: 2.545 MB / 444.3 MB, free: 2.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.1289, allocations: 0.7482 MB / 445.1 MB, free: 1.703 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.129, allocations: 17.95 kB / 445.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.1292, allocations: 63.42 kB / 445.2 MB, free: 1.629 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1292, allocations: 0 / 445.2 MB, free: 1.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/0.3597, allocations: 4.82 MB / 450 MB, free: 24.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.44, allocations: 9.703 kB / 450 MB, free: 24.16 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.744211306795478] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.phi_rel', 'damper.w_rel', 'inertia3.phi', 'inertia3.w'] 10.523318527732044 10.543698487 10.432318675 Calling exit ...