Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001749/0.001749, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002082/0.002082, allocations: 212 kB / 24.54 MB, free: 4.016 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.443/1.443, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2353/0.2353, allocations: 46.94 MB / 361.6 MB, free: 4.195 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.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.002442/0.002442, allocations: 79.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3627, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01294/0.3756, allocations: 10.32 MB / 0.5716 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009591/0.3852, allocations: 3.845 MB / 0.5753 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.3873, allocations: 63.69 kB / 0.5754 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004155/0.3915, allocations: 1.981 MB / 0.5773 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.3961, allocations: 1.669 MB / 0.579 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.3977, allocations: 0.6121 MB / 0.5796 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005599/0.4033, allocations: 3.369 MB / 0.5829 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003324/0.4066, allocations: 2.13 MB / 0.5849 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.409, allocations: 1.257 MB / 0.5862 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.4119, allocations: 1.81 MB / 0.5879 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007419/0.4127, allocations: 256 kB / 0.5882 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.415, allocations: 1.053 MB / 0.5892 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002072/0.417, allocations: 1.605 MB / 0.5908 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003142/0.4202, allocations: 1.817 MB / 0.5925 GB, free: 4.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008876/0.429, allocations: 5.809 MB / 0.5982 GB, free: 14.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.445e-06/0.429, allocations: 0 / 0.5982 GB, free: 14.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4291, allocations: 0 / 0.5982 GB, free: 14.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001945/0.4292, allocations: 0 / 0.5982 GB, free: 14.52 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.009879/0.4391, allocations: 4.057 MB / 0.6022 GB, free: 10.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.4392, allocations: 12.03 kB / 0.6022 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001278/0.4405, allocations: 0.6004 MB / 0.6028 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006523/0.447, allocations: 1.8 MB / 0.6045 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00483/0.4518, allocations: 2.106 MB / 0.6066 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.452, allocations: 193 kB / 0.6068 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008522/0.4529, allocations: 255.8 kB / 0.607 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/0.4693, allocations: 8.44 MB / 0.6153 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.4695, allocations: 43.69 kB / 0.6153 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006027/0.4701, allocations: 127.9 kB / 0.6154 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003037/0.4731, allocations: 1.695 MB / 0.6171 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.4883, allocations: 7.121 MB / 0.624 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0463/0.5345, allocations: 33.96 MB / 0.6572 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007562/0.5421, allocations: 2.744 MB / 0.6599 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/0.5443, allocations: 1.357 MB / 0.6612 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007266/0.5516, allocations: 3.688 MB / 0.6648 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.5516, allocations: 51.22 kB / 0.6649 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.348e-06/0.5516, allocations: 0 / 0.6649 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03083/0.5825, allocations: 11.51 MB / 0.6761 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.5826, allocations: 170.9 kB / 0.6763 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006544/0.5891, allocations: 3.726 MB / 0.6799 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.5894, allocations: 45.7 kB / 0.6799 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002734/0.5921, allocations: 2.87 MB / 0.6828 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008456/0.593, allocations: 0.539 MB / 0.6833 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002079/0.5951, allocations: 1.084 MB / 0.6843 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5952, allocations: 309.1 kB / 0.6846 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003278/0.5985, allocations: 1.701 MB / 0.6863 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006732/0.6052, allocations: 5.119 MB / 0.6913 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/0.6154, allocations: 7.42 MB / 0.6985 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/0.6155, allocations: 36 kB / 0.6986 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01405/0.6296, allocations: 6.724 MB / 0.7051 GB, free: 11.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.6297, allocations: 57 kB / 0.7052 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001942/0.6299, allocations: 124 kB / 0.7053 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007909/0.6307, allocations: 316.7 kB / 0.7056 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004281/0.635, allocations: 1.244 MB / 0.7068 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.6383, allocations: 2.386 MB / 0.7092 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/0.6425, allocations: 291.6 kB / 0.7094 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009343/0.6435, allocations: 332 kB / 0.7098 GB, free: 6.68 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00399/0.6474, allocations: 1.792 MB / 0.7115 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008203/0.6483, allocations: 329.7 kB / 0.7118 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005349/0.6536, allocations: 2.359 MB / 0.7141 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.503e-05/0.6537, allocations: 19.98 kB / 0.7141 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.6537, allocations: 8 kB / 0.7141 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.6537, allocations: 4.109 kB / 0.7141 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.667, allocations: 5.893 MB / 0.7199 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.717e-05/0.667, allocations: 4 kB / 0.7199 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008941/0.6679, allocations: 175.8 kB / 0.7201 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002236/0.6701, allocations: 0.7108 MB / 0.7208 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.6703, allocations: 16 kB / 0.7208 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006704/0.677, allocations: 4.721 MB / 0.7254 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.677, allocations: 0 / 0.7254 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007846/0.6848, allocations: 4.353 MB / 0.7296 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.6859, allocations: 309.6 kB / 0.7299 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005416/0.6865, allocations: 19.94 kB / 0.73 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.6877, allocations: 75.89 kB / 0.73 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.6879, allocations: 68.52 kB / 0.7301 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.688, allocations: 36 kB / 0.7301 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.3091/0.9971, allocations: 2.316 MB / 0.7324 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.32e-07/0.9971, allocations: 2.812 kB / 0.7324 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007575/1.005, allocations: 0.801 MB / 0.7332 GB, free: 152.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008269/1.013, allocations: 4.972 MB / 0.738 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006046/1.019, allocations: 3.896 MB / 0.7418 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.019, allocations: 0 / 0.7418 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/1.02, allocations: 1.046 MB / 0.7429 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.023, allocations: 389.8 kB / 0.7432 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05128/1.074, allocations: 37.78 MB / 0.7801 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003677/1.078, allocations: 2.782 MB / 0.7828 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003681/1.082, allocations: 1.664 MB / 0.7845 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002467/1.084, allocations: 1.522 MB / 0.786 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.683e-06/1.084, allocations: 0 / 0.786 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/1.187, allocations: 62.27 MB / 0.8468 GB, free: 44.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.15/25.34, allocations: 7.938 kB / 0.8468 GB, free: 44.36 MB / 0.5606 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.25176173169166] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 25.470504492055625 25.488468343 25.055888853 Calling exit ...