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.001333/0.001333, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001577/0.001577, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.482/1.482, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2363/0.2363, allocations: 46.93 MB / 361.6 MB, free: 4.18 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.002349/0.002349, allocations: 79.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3454, allocations: 66.08 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01347/0.3589, allocations: 10.32 MB / 0.5716 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009133/0.368, allocations: 3.834 MB / 0.5753 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.3699, allocations: 67.62 kB / 0.5754 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00435/0.3743, allocations: 1.985 MB / 0.5773 GB, free: 4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004718/0.379, allocations: 1.669 MB / 0.579 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.3807, allocations: 0.6082 MB / 0.5796 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005261/0.3859, allocations: 3.372 MB / 0.5829 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/0.3888, allocations: 2.126 MB / 0.5849 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.391, allocations: 1.257 MB / 0.5862 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.3938, allocations: 1.814 MB / 0.5879 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005364/0.3943, allocations: 252 kB / 0.5882 GB, free: 8.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.3964, allocations: 1.057 MB / 0.5892 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001665/0.3981, allocations: 1.597 MB / 0.5908 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002042/0.4001, allocations: 1.817 MB / 0.5925 GB, free: 4.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007315/0.4074, allocations: 5.82 MB / 0.5982 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4074, allocations: 0 / 0.5982 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4074, allocations: 0 / 0.5982 GB, free: 14.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001381/0.4076, allocations: 0 / 0.5982 GB, free: 14.49 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.007761/0.4153, allocations: 4.05 MB / 0.6022 GB, free: 10.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4154, allocations: 12.03 kB / 0.6022 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008427/0.4162, allocations: 0.6043 MB / 0.6028 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006014/0.4222, allocations: 1.8 MB / 0.6045 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004292/0.4265, allocations: 2.102 MB / 0.6066 GB, free: 5.809 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.4267, allocations: 193 kB / 0.6068 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004853/0.4272, allocations: 251.8 kB / 0.607 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.4417, allocations: 8.451 MB / 0.6153 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.955e-05/0.4418, allocations: 39.69 kB / 0.6153 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003452/0.4421, allocations: 127.9 kB / 0.6154 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002791/0.4449, allocations: 1.699 MB / 0.6171 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.4588, allocations: 7.11 MB / 0.624 GB, free: 3.266 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04555/0.5044, allocations: 33.96 MB / 0.6572 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007176/0.5116, allocations: 2.74 MB / 0.6599 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.5135, allocations: 1.357 MB / 0.6612 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006733/0.5202, allocations: 3.696 MB / 0.6648 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.5203, allocations: 51.14 kB / 0.6649 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.518e-06/0.5203, allocations: 3.938 kB / 0.6649 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.02899/0.5493, allocations: 11.52 MB / 0.6761 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.5494, allocations: 166.9 kB / 0.6763 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005244/0.5547, allocations: 3.73 MB / 0.6799 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.5549, allocations: 41.7 kB / 0.68 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002328/0.5572, allocations: 2.866 MB / 0.6828 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006702/0.5579, allocations: 0.5468 MB / 0.6833 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/0.5593, allocations: 1.076 MB / 0.6843 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5595, allocations: 309.1 kB / 0.6846 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/0.5623, allocations: 1.701 MB / 0.6863 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006061/0.5683, allocations: 5.127 MB / 0.6913 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009764/0.5781, allocations: 7.404 MB / 0.6985 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.349e-05/0.5782, allocations: 36 kB / 0.6986 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01235/0.5905, allocations: 6.721 MB / 0.7051 GB, free: 11.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.5906, allocations: 56 kB / 0.7052 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/0.5908, allocations: 124.2 kB / 0.7053 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006519/0.5914, allocations: 325.4 kB / 0.7056 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003809/0.5952, allocations: 1.248 MB / 0.7068 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.5982, allocations: 2.39 MB / 0.7092 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004034/0.6022, allocations: 295.7 kB / 0.7094 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005637/0.6028, allocations: 336 kB / 0.7098 GB, free: 6.645 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.003251/0.606, allocations: 1.78 MB / 0.7115 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006943/0.6067, allocations: 329.8 kB / 0.7118 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005006/0.6117, allocations: 2.363 MB / 0.7141 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/0.6118, allocations: 16 kB / 0.7141 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.6118, allocations: 4 kB / 0.7141 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.6118, allocations: 8.016 kB / 0.7142 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.6256, allocations: 5.889 MB / 0.7199 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.6256, allocations: 4.062 kB / 0.7199 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009044/0.6265, allocations: 179.7 kB / 0.7201 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/0.6288, allocations: 0.7109 MB / 0.7208 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.629, allocations: 27.98 kB / 0.7208 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006876/0.6358, allocations: 4.706 MB / 0.7254 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.6358, allocations: 0 / 0.7254 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007802/0.6437, allocations: 4.353 MB / 0.7296 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.6447, allocations: 301.6 kB / 0.7299 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006898/0.6454, allocations: 32 kB / 0.73 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.6468, allocations: 71.89 kB / 0.73 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/0.647, allocations: 72.45 kB / 0.7301 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.6472, allocations: 36 kB / 0.7301 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2738/0.9209, allocations: 2.317 MB / 0.7324 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9209, allocations: 0 / 0.7324 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005243/0.9261, allocations: 0.8028 MB / 0.7332 GB, free: 152.7 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.006178/0.9323, allocations: 4.97 MB / 0.738 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005139/0.9375, allocations: 3.894 MB / 0.7418 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9375, allocations: 3.969 kB / 0.7418 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.9386, allocations: 1.04 MB / 0.7429 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.9408, allocations: 388.7 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.04376/0.9846, 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.002285/0.9869, allocations: 2.781 MB / 0.7828 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003035/0.9899, 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.001596/0.9915, allocations: 1.526 MB / 0.786 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.9915, allocations: 0 / 0.786 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09584/1.087, allocations: 62.26 MB / 0.8468 GB, free: 44.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.9/24.99, allocations: 8.047 kB / 0.8468 GB, free: 44.32 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization_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_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.10348064918071] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 25.116170082241297 25.126507661 24.716517069000002 Calling exit ...