Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.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: 120.3 kB / 18.45 MB, free: 4.59 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.002187/0.002187, allocations: 208.9 kB / 21.41 MB, free: 1.641 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.462/1.462, allocations: 227.4 MB / 251.7 MB, free: 264 kB / 190.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.2308/0.2308, allocations: 46.15 MB / 351.1 MB, free: 14.34 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.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameTorques",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.002352/0.002352, allocations: 78.78 kB / 489.7 MB, free: 28.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.121, allocations: 62.45 MB / 0.5392 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0148/0.1358, allocations: 12.66 MB / 0.5516 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009669/0.1456, allocations: 4.505 MB / 0.556 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.1478, allocations: 87.75 kB / 0.556 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007278/0.1551, allocations: 3.703 MB / 0.5597 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00592/0.1611, allocations: 2.179 MB / 0.5618 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.1638, allocations: 1.002 MB / 0.5628 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009178/0.173, allocations: 6.047 MB / 0.5687 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006472/0.1795, allocations: 4.557 MB / 0.5731 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004138/0.1837, allocations: 1.951 MB / 0.575 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004802/0.1885, allocations: 2.621 MB / 0.5776 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001688/0.1903, allocations: 408 kB / 0.578 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.1941, allocations: 1.436 MB / 0.5794 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003337/0.1975, allocations: 2.416 MB / 0.5817 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005134/0.2026, allocations: 2.773 MB / 0.5844 GB, free: 6.238 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.2151, allocations: 8.798 MB / 0.593 GB, free: 13.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.2151, allocations: 4 kB / 0.593 GB, free: 13.4 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2151, allocations: 0 / 0.593 GB, free: 13.4 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002852/0.2154, allocations: 0 / 0.593 GB, free: 13.4 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01628/0.2317, allocations: 6.347 MB / 0.5992 GB, free: 6.973 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.2318, allocations: 11.97 kB / 0.5992 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002052/0.2339, allocations: 0.8228 MB / 0.6 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03982/0.2737, allocations: 6.059 MB / 0.606 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2707/0.5444, allocations: 4.151 MB / 0.61 GB, free: 54.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/0.5448, allocations: 284 kB / 0.6103 GB, free: 54.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00136/0.5462, allocations: 377.3 kB / 0.6106 GB, free: 54.35 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0221/0.5683, allocations: 11.48 MB / 0.6219 GB, free: 49.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002345/0.5686, allocations: 57.09 kB / 0.6219 GB, free: 49.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008447/0.5694, allocations: 182.4 kB / 0.6221 GB, free: 48.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003987/0.5734, allocations: 2.146 MB / 0.6242 GB, free: 48.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/0.5913, allocations: 9.371 MB / 0.6333 GB, free: 45.17 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04514/0.6365, allocations: 45.35 MB / 0.6776 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.6471, allocations: 3.79 MB / 0.6813 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002972/0.6501, allocations: 2.01 MB / 0.6833 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.6607, allocations: 5.659 MB / 0.6888 GB, free: 3.852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.6608, allocations: 52.03 kB / 0.6889 GB, free: 3.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 5.08e-06/0.6608, allocations: 4 kB / 0.6889 GB, free: 3.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=162): time 0.04634/0.7072, allocations: 15.93 MB / 0.7044 GB, free: 3.688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.7074, allocations: 222.1 kB / 0.7046 GB, free: 3.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/0.7176, allocations: 5.64 MB / 0.7101 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004242/0.7181, allocations: 53.55 kB / 0.7102 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003759/0.7219, allocations: 3.909 MB / 0.714 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/0.723, allocations: 0.6825 MB / 0.7147 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002314/0.7253, allocations: 1.341 MB / 0.716 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7255, allocations: 313 kB / 0.7163 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003358/0.7288, allocations: 2.066 MB / 0.7183 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007311/0.7362, allocations: 6.318 MB / 0.7245 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/0.7482, allocations: 9.138 MB / 0.7334 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/0.7483, allocations: 44 kB / 0.7334 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.0189/0.7672, allocations: 8.613 MB / 0.7418 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.7674, allocations: 68 kB / 0.7419 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000234/0.7676, allocations: 152 kB / 0.7421 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/0.7697, allocations: 0.7206 MB / 0.7428 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005066/0.7748, allocations: 1.505 MB / 0.7442 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009132/0.7839, allocations: 6.978 MB / 0.751 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005406/0.7894, allocations: 347.6 kB / 0.7514 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/0.7907, allocations: 412 kB / 0.7518 GB, free: 14.59 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (798): * Single equations (assignments): 791 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005226/0.7959, allocations: 2.453 MB / 0.7542 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/0.7971, allocations: 480.8 kB / 0.7546 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005515/0.8027, allocations: 2.655 MB / 0.7572 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.271e-05/0.8028, allocations: 23.94 kB / 0.7572 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.8028, allocations: 4 kB / 0.7572 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.8028, allocations: 7.984 kB / 0.7572 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/0.8189, allocations: 7.478 MB / 0.7646 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/0.8189, allocations: 8.266 kB / 0.7646 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.8203, allocations: 251.6 kB / 0.7648 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.8218, allocations: 0.4945 MB / 0.7653 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.822, allocations: 32 kB / 0.7653 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008032/0.8301, allocations: 6.285 MB / 0.7715 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.8301, allocations: 7.938 kB / 0.7715 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008299/0.8384, allocations: 4.974 MB / 0.7763 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/0.8401, allocations: 0.5369 MB / 0.7768 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009658/0.841, allocations: 32.28 kB / 0.7769 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/0.843, allocations: 79.89 kB / 0.7769 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000346/0.8433, allocations: 96.75 kB / 0.777 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.8435, allocations: 47.94 kB / 0.7771 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006999/0.8505, allocations: 3.61 MB / 0.7806 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8505, allocations: 4 kB / 0.7806 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006708/0.8572, allocations: 1.082 MB / 0.7817 GB, free: 15.49 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (120): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (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.008961/0.8662, allocations: 5.612 MB / 0.7872 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009808/0.8761, allocations: 5.146 MB / 0.7922 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.8762, allocations: 0 / 0.7922 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002473/0.8786, allocations: 1.503 MB / 0.7936 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/0.883, allocations: 0.6311 MB / 0.7943 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3506/1.234, allocations: 53.98 MB / 0.847 GB, free: 206.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0053/1.239, allocations: 3.766 MB / 0.8507 GB, free: 206 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004827/1.244, allocations: 2.122 MB / 0.8527 GB, free: 205.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002816/1.247, allocations: 2.307 MB / 0.855 GB, free: 204.3 MB / 0.6231 GB Notification: Performance of SimCode: time 6.92e-07/1.247, allocations: 0 / 0.855 GB, free: 204.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/1.376, allocations: 84.16 MB / 0.9372 GB, free: 135.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.42/30.8, allocations: 1.438 kB / 0.9372 GB, free: 135.2 MB / 0.6231 GB " [Timeout remaining time 629] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques_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_Forces_FrameTorques.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 33.89773804903962] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w'] 30.934257172048092 30.951463606 30.733126896999998 Calling exit ...