Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.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.001327/0.001327, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.001733/0.001733, allocations: 218 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 230.2 MB / 256.2 MB, free: 8.695 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2214/0.2214, allocations: 46.89 MB / 359.4 MB, free: 4.934 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002458/0.002458, allocations: 87.86 kB / 0.4941 GB, free: 9.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3011, allocations: 65.99 MB / 0.5586 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01884/0.32, allocations: 17.01 MB / 0.5752 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00881/0.3288, allocations: 3.976 MB / 0.5791 GB, free: 56 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.3313, allocations: 103.9 kB / 0.5792 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004691/0.336, allocations: 2.23 MB / 0.5813 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007055/0.343, allocations: 2.584 MB / 0.5839 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3443, allocations: 303.5 kB / 0.5842 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009925/0.3542, allocations: 6.552 MB / 0.5905 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004482/0.3587, allocations: 2.721 MB / 0.5932 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/0.3625, allocations: 2.117 MB / 0.5953 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004844/0.3673, allocations: 3.099 MB / 0.5983 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.3686, allocations: 396 kB / 0.5987 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.3709, allocations: 0.8387 MB / 0.5995 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003833/0.3748, allocations: 2.815 MB / 0.6022 GB, free: 8.211 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00513/0.3799, allocations: 3.306 MB / 0.6055 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01487/0.3948, allocations: 10.64 MB / 0.6159 GB, free: 10.19 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3948, allocations: 4 kB / 0.6159 GB, free: 10.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3948, allocations: 0 / 0.6159 GB, free: 10.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003315/0.3951, allocations: 0 / 0.6159 GB, free: 10.18 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01418/0.4093, allocations: 7.18 MB / 0.6229 GB, free: 2.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.4093, allocations: 12.02 kB / 0.6229 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002546/0.4119, allocations: 1.276 MB / 0.6241 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02049/0.4324, allocations: 5.903 MB / 0.6299 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00683/0.4392, allocations: 3.301 MB / 0.6331 GB, free: 8.328 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.4395, allocations: 324 kB / 0.6334 GB, free: 8.008 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.4412, allocations: 419.7 kB / 0.6338 GB, free: 7.598 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03269/0.4739, allocations: 18.89 MB / 0.6523 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.474, allocations: 35.69 kB / 0.6523 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001287/0.4753, allocations: 207.7 kB / 0.6525 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008105/0.4834, allocations: 4.742 MB / 0.6571 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03641/0.5198, allocations: 17.54 MB / 0.6743 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3351/0.8548, allocations: 60.98 MB / 0.7338 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/0.8684, allocations: 8.165 MB / 0.7418 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003303/0.8717, allocations: 2.394 MB / 0.7441 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01873/0.8905, allocations: 11.88 MB / 0.7557 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.8905, allocations: 62.08 kB / 0.7558 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 8.656e-06/0.8905, allocations: 3.688 kB / 0.7558 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.0164/0.9069, allocations: 7.532 MB / 0.7632 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.907, allocations: 101.8 kB / 0.7633 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008412/0.9154, allocations: 5.682 MB / 0.7688 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004759/0.9159, allocations: 74.41 kB / 0.7689 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003094/0.9189, allocations: 5.285 MB / 0.774 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.9204, allocations: 1.251 MB / 0.7753 GB, free: 118 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003152/0.9235, allocations: 1.918 MB / 0.7771 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.45e-05/0.9236, allocations: 305.1 kB / 0.7774 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004372/0.9279, allocations: 3.21 MB / 0.7806 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007799/0.9357, allocations: 8.648 MB / 0.789 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01077/0.9465, allocations: 12.91 MB / 0.8016 GB, free: 87.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001684/0.9467, allocations: 52 kB / 0.8017 GB, free: 87.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01761/0.9643, allocations: 11.69 MB / 0.8131 GB, free: 76.15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.9644, allocations: 91.98 kB / 0.8132 GB, free: 76.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002042/0.9646, allocations: 188 kB / 0.8133 GB, free: 75.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.9648, allocations: 252 kB / 0.8136 GB, free: 75.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006338/0.9711, allocations: 2.078 MB / 0.8156 GB, free: 73.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002829/0.9714, allocations: 370.6 kB / 0.816 GB, free: 73.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006631/0.978, allocations: 1.361 MB / 0.8173 GB, free: 71.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/0.9794, allocations: 0.5504 MB / 0.8178 GB, free: 71.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005109/0.9845, allocations: 3.704 MB / 0.8214 GB, free: 67.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006709/0.9852, allocations: 0.5082 MB / 0.8219 GB, free: 67.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.9866, allocations: 0.641 MB / 0.8226 GB, free: 66.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.42e-05/0.9867, allocations: 59.98 kB / 0.8226 GB, free: 66.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/0.9867, allocations: 4 kB / 0.8226 GB, free: 66.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.9867, allocations: 7.969 kB / 0.8226 GB, free: 66.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/1.005, allocations: 12.63 MB / 0.835 GB, free: 53.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.005, allocations: 19.98 kB / 0.835 GB, free: 53.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/1.007, allocations: 420.2 kB / 0.8354 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.308e-05/1.007, allocations: 24 kB / 0.8354 GB, free: 53.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/1.007, allocations: 63.44 kB / 0.8355 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.748e-05/1.007, allocations: 31.86 kB / 0.8355 GB, free: 52.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/1.007, allocations: 19.94 kB / 0.8355 GB, free: 52.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/1.011, allocations: 4.671 MB / 0.8401 GB, free: 48.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009643/1.012, allocations: 0.5867 MB / 0.8407 GB, free: 47.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008297/1.013, allocations: 55.98 kB / 0.8407 GB, free: 47.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/1.015, allocations: 123.5 kB / 0.8408 GB, free: 47.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003984/1.016, allocations: 176.8 kB / 0.841 GB, free: 47.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/1.016, allocations: 108.5 kB / 0.8411 GB, free: 46.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00493/1.021, allocations: 3.482 MB / 0.8445 GB, free: 43.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.021, allocations: 4 kB / 0.8445 GB, free: 43.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007409/1.028, allocations: 1.97 MB / 0.8464 GB, free: 41.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 simulation (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005672/1.034, allocations: 5.339 MB / 0.8516 GB, free: 35.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009251/1.043, allocations: 7.001 MB / 0.8585 GB, free: 28.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/1.043, allocations: 12 kB / 0.8585 GB, free: 28.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002263/1.045, allocations: 1.868 MB / 0.8603 GB, free: 27.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/1.049, allocations: 0.6204 MB / 0.8609 GB, free: 26.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1059/1.155, allocations: 68.35 MB / 0.9277 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01121/1.166, allocations: 5.415 MB / 0.933 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.008698/1.175, allocations: 3.547 MB / 0.9364 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005953/1.181, allocations: 3.323 MB / 0.9397 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of SimCode: time 1.192e-06/1.181, allocations: 0 / 0.9397 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4219/1.603, allocations: 87.59 MB / 1.025 GB, free: 223.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.9/24.5, allocations: 4.75 kB / 1.025 GB, free: 223.1 MB / 0.67 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.227253146993462] Failed to read output from testmodel.py, exit status != 0: ['time', 'fixedRotation.frame_b.r_0[1]', 'fixedRotation.frame_b.r_0[2]', 'fixedRotation.frame_b.r_0[3]', 'fixedRotation.frame_b.f[1]', 'fixedRotation.frame_b.f[2]', 'fixedRotation.frame_b.f[3]', 'fixedRotation.frame_b.t[1]', 'fixedRotation.frame_b.t[2]', 'fixedRotation.frame_b.t[3]', 'fixedRotation1.frame_b.r_0[1]', 'fixedRotation1.frame_b.r_0[2]', 'fixedRotation1.frame_b.r_0[3]', 'fixedRotation1.frame_b.f[1]', 'fixedRotation1.frame_b.f[2]', 'fixedRotation1.frame_b.f[3]', 'fixedRotation1.frame_b.t[1]', 'fixedRotation1.frame_b.t[2]', 'fixedRotation1.frame_b.t[3]', 'fixedRotation2.frame_b.r_0[1]', 'fixedRotation2.frame_b.r_0[2]', 'fixedRotation2.frame_b.r_0[3]', 'fixedRotation2.frame_b.f[1]', 'fixedRotation2.frame_b.f[2]', 'fixedRotation2.frame_b.f[3]', 'fixedRotation2.frame_b.t[1]', 'fixedRotation2.frame_b.t[2]', 'fixedRotation2.frame_b.t[3]'] 24.63591041500331 24.655107935 24.256155744 Calling exit ...