Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.001625/0.001625, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001453/0.001453, allocations: 214 kB / 23.73 MB, free: 4.406 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.494/1.494, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.95 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 83.88 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3398, allocations: 66.08 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01942/0.3592, allocations: 14.56 MB / 0.5749 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.374, allocations: 5.273 MB / 0.5801 GB, free: 100 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004301/0.3783, allocations: 163.2 kB / 0.5802 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.3885, allocations: 4.513 MB / 0.5846 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008332/0.3969, allocations: 2.525 MB / 0.5871 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.4005, allocations: 1.307 MB / 0.5884 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01374/0.4142, allocations: 8.648 MB / 0.5968 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006643/0.4209, allocations: 4.252 MB / 0.601 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005466/0.4263, allocations: 2.629 MB / 0.6035 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005872/0.4322, allocations: 3.205 MB / 0.6067 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001727/0.4339, allocations: 0.4961 MB / 0.6072 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/0.4372, allocations: 1.249 MB / 0.6084 GB, free: 2.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004226/0.4415, allocations: 2.945 MB / 0.6113 GB, free: 32 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005336/0.4468, allocations: 2.46 MB / 0.6137 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01615/0.4629, allocations: 9.516 MB / 0.623 GB, free: 4.004 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.463, allocations: 7.938 kB / 0.623 GB, free: 3.996 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.463, allocations: 0 / 0.623 GB, free: 3.996 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004356/0.4634, allocations: 0 / 0.623 GB, free: 3.996 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02733/0.4907, allocations: 7.64 MB / 0.6304 GB, free: 12.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.4908, allocations: 8.031 kB / 0.6304 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002703/0.4935, allocations: 0.7388 MB / 0.6311 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0664/0.5599, allocations: 8.946 MB / 0.6399 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/0.5773, allocations: 6.261 MB / 0.646 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004364/0.5778, allocations: 347.2 kB / 0.6463 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/0.5794, allocations: 415.7 kB / 0.6467 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02622/0.6057, allocations: 10.88 MB / 0.6574 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003284/0.606, allocations: 63.59 kB / 0.6574 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001055/0.607, allocations: 171.9 kB / 0.6576 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003613/0.6107, allocations: 1.729 MB / 0.6593 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0234/0.6341, allocations: 8.981 MB / 0.668 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07207/0.7061, allocations: 40.91 MB / 0.708 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02325/0.7294, allocations: 7.359 MB / 0.7152 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007254/0.7366, allocations: 4.794 MB / 0.7199 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02197/0.7586, allocations: 11.03 MB / 0.7306 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.7587, allocations: 64.8 kB / 0.7307 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=283): time 8.506e-06/0.7587, allocations: 0 / 0.7307 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=406): time 0.5212/1.28, allocations: 74.37 MB / 0.8033 GB, free: 99.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01326/1.293, allocations: 10.86 MB / 0.8139 GB, free: 88.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/1.298, allocations: 4.424 MB / 0.8182 GB, free: 84.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009921/1.299, allocations: 93.7 kB / 0.8183 GB, free: 84.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00163/1.301, allocations: 3.046 MB / 0.8213 GB, free: 81.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001585/1.302, allocations: 1.469 MB / 0.8227 GB, free: 80.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001708/1.304, allocations: 1.14 MB / 0.8238 GB, free: 79.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.156e-05/1.304, allocations: 303.6 kB / 0.8241 GB, free: 78.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005268/1.309, allocations: 4.653 MB / 0.8287 GB, free: 74.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006612/1.316, allocations: 6.784 MB / 0.8353 GB, free: 66.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/1.329, allocations: 12.07 MB / 0.8471 GB, free: 53.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.524e-05/1.329, allocations: 16 kB / 0.8471 GB, free: 53.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03408/1.363, allocations: 18.93 MB / 0.8656 GB, free: 34.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/1.363, allocations: 36 kB / 0.8656 GB, free: 34.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-05/1.363, allocations: 67.94 kB / 0.8657 GB, free: 34.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02216/1.385, allocations: 8.804 MB / 0.8743 GB, free: 25.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004098/1.39, allocations: 1.014 MB / 0.8753 GB, free: 24.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0876/1.477, allocations: 53.15 MB / 0.9272 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006796/1.484, allocations: 495.3 kB / 0.9277 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/1.486, allocations: 283.7 kB / 0.9279 GB, free: 2.406 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (515): * Single equations (assignments): 506 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(13,102,46.2%), (3,23,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,48)} Notification: Performance of prepare postOptimizeDAE: time 0.005255/1.491, allocations: 2.269 MB / 0.9301 GB, free: 128 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/1.492, allocations: 0.489 MB / 0.9306 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04152/1.534, allocations: 17.82 MB / 0.948 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04326/1.577, allocations: 16.33 MB / 0.964 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.407e-05/1.577, allocations: 28 kB / 0.964 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.83e-05/1.577, allocations: 19.92 kB / 0.964 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3744/1.952, allocations: 33.59 MB / 0.9968 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.493e-05/1.952, allocations: 10.03 kB / 0.9968 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/1.954, allocations: 459.6 kB / 0.9973 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02188/1.976, allocations: 8.625 MB / 1.006 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/1.977, allocations: 78.52 kB / 1.006 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05773/2.035, allocations: 51.66 MB / 1.056 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0115/2.046, allocations: 9.592 MB / 1.066 GB, free: 147.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03768/2.084, allocations: 23.98 MB / 1.089 GB, free: 124 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/2.086, allocations: 473.8 kB / 1.089 GB, free: 123.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001995/2.088, allocations: 75.98 kB / 1.09 GB, free: 123.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004887/2.093, allocations: 386.4 kB / 1.09 GB, free: 123.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001946/2.095, allocations: 351.9 kB / 1.09 GB, free: 123.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004851/2.095, allocations: 95.98 kB / 1.09 GB, free: 123 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004179/2.099, allocations: 2.836 MB / 1.093 GB, free: 120.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.159e-05/2.099, allocations: 0 / 1.093 GB, free: 120.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008326/2.108, allocations: 1.977 MB / 1.095 GB, free: 118.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (217): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(11,97,54.5%), (4,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04039/2.148, allocations: 24.64 MB / 1.119 GB, free: 93.49 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01836/2.166, allocations: 12.14 MB / 1.131 GB, free: 81.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/2.166, allocations: 4 kB / 1.131 GB, free: 81.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01223/2.179, allocations: 6.688 MB / 1.137 GB, free: 74.56 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005883/2.184, allocations: 0.8448 MB / 1.138 GB, free: 73.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1503/2.335, allocations: 80.44 MB / 1.217 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009895/2.345, allocations: 3.651 MB / 1.22 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.3305/2.675, allocations: 1.603 MB / 1.222 GB, free: 225.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004387/2.68, allocations: 2.614 MB / 1.225 GB, free: 225.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.893e-06/2.68, allocations: 0 / 1.225 GB, free: 225.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2235/2.903, allocations: 174.7 MB / 1.395 GB, free: 75.11 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.36/24.26, allocations: 10.03 kB / 1.395 GB, free: 75.1 MB / 0.6544 GB " [Timeout remaining time 636] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000998602 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.489077947102487] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w', 'revolute3.phi', 'revolute3.w', 'revolute4.phi', 'revolute4.w'] 24.468298739288002 24.478596923 24.012928203 Calling exit ...