Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001363/0.001363, 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.001793/0.001793, allocations: 212.6 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.458/1.458, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2228/0.2228, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP",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: 83.86 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.351, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01839/0.3694, allocations: 16.09 MB / 0.5772 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.3819, allocations: 5.507 MB / 0.5826 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/0.3852, allocations: 131.3 kB / 0.5827 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009649/0.3948, allocations: 5.191 MB / 0.5878 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006978/0.4018, allocations: 2.681 MB / 0.5904 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.405, allocations: 1.381 MB / 0.5917 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.4169, allocations: 8.263 MB / 0.5998 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007213/0.4241, allocations: 5.201 MB / 0.6049 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005556/0.4297, allocations: 2.824 MB / 0.6077 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00812/0.4378, allocations: 4.023 MB / 0.6116 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002214/0.44, allocations: 0.6328 MB / 0.6122 GB, free: 152 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/0.4444, allocations: 1.818 MB / 0.614 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004883/0.4493, allocations: 3.448 MB / 0.6173 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005722/0.455, allocations: 3.792 MB / 0.621 GB, free: 7.055 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01872/0.4737, allocations: 12.18 MB / 0.6329 GB, free: 10.82 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4737, allocations: 3.938 kB / 0.6329 GB, free: 10.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4737, allocations: 0 / 0.6329 GB, free: 10.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004227/0.4741, allocations: 4 kB / 0.633 GB, free: 10.81 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02208/0.4962, allocations: 8.298 MB / 0.6411 GB, free: 2.438 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4963, allocations: 8.031 kB / 0.6411 GB, free: 2.43 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002833/0.4991, allocations: 1.156 MB / 0.6422 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04942/0.5485, allocations: 8.406 MB / 0.6504 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/0.5636, allocations: 5.796 MB / 0.6561 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000435/0.564, allocations: 382 kB / 0.6564 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00227/0.5663, allocations: 0.5114 MB / 0.6569 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03316/0.5995, allocations: 15.41 MB / 0.672 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002644/0.5997, allocations: 75.34 kB / 0.672 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/0.601, allocations: 239.8 kB / 0.6723 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004244/0.6052, allocations: 2.544 MB / 0.6748 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03005/0.6353, allocations: 12.88 MB / 0.6873 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4318/1.067, allocations: 56.82 MB / 0.7428 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/1.082, allocations: 5.651 MB / 0.7483 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00367/1.086, allocations: 3.109 MB / 0.7514 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01567/1.102, allocations: 9.742 MB / 0.7609 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/1.102, allocations: 62.97 kB / 0.761 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 4.749e-06/1.102, allocations: 0 / 0.761 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=338): time 0.1202/1.222, allocations: 39.45 MB / 0.7995 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/1.222, allocations: 243.1 kB / 0.7997 GB, free: 79.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007376/1.229, allocations: 5.747 MB / 0.8053 GB, free: 74.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007655/1.23, allocations: 85.64 kB / 0.8054 GB, free: 73.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002202/1.232, allocations: 4.609 MB / 0.8099 GB, free: 69.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00125/1.234, allocations: 1.287 MB / 0.8112 GB, free: 68.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002029/1.236, allocations: 1.64 MB / 0.8128 GB, free: 66.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.549e-05/1.236, allocations: 313 kB / 0.8131 GB, free: 66.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00463/1.24, allocations: 3.768 MB / 0.8167 GB, free: 62.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006313/1.247, allocations: 8.305 MB / 0.8249 GB, free: 52.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/1.259, allocations: 13.01 MB / 0.8376 GB, free: 37.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000111/1.259, allocations: 49.5 kB / 0.8376 GB, free: 37.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.02887/1.288, allocations: 15.45 MB / 0.8527 GB, free: 21.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.288, allocations: 72 kB / 0.8528 GB, free: 21.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001666/1.289, allocations: 156 kB / 0.8529 GB, free: 21.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01227/1.301, allocations: 4.096 MB / 0.8569 GB, free: 17.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006024/1.307, allocations: 1.797 MB / 0.8587 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02754/1.334, allocations: 20.84 MB / 0.879 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006669/1.341, allocations: 499.4 kB / 0.8795 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/1.343, allocations: 471.9 kB / 0.8799 GB, free: 9.562 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (966): * Single equations (assignments): 962 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007008/1.35, allocations: 3.112 MB / 0.883 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001578/1.351, allocations: 0.5549 MB / 0.8835 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0223/1.373, allocations: 9.552 MB / 0.8928 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-05/1.374, allocations: 43.83 kB / 0.8929 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.253e-05/1.374, allocations: 16 kB / 0.8929 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.825e-05/1.374, allocations: 16.41 kB / 0.8929 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04279/1.416, allocations: 19.54 MB / 0.912 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.662e-05/1.416, allocations: 8 kB / 0.912 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/1.419, allocations: 0.4915 MB / 0.9125 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01306/1.432, allocations: 3.651 MB / 0.916 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006621/1.433, allocations: 67.92 kB / 0.9161 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02937/1.462, allocations: 18.35 MB / 0.934 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/1.462, allocations: 11.92 kB / 0.934 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02935/1.492, allocations: 14.19 MB / 0.9479 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/1.494, allocations: 0.5274 MB / 0.9484 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001573/1.495, allocations: 63.98 kB / 0.9485 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/1.498, allocations: 223.7 kB / 0.9487 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009239/1.499, allocations: 234.1 kB / 0.9489 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000298/1.5, allocations: 94.25 kB / 0.949 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.007116/1.507, allocations: 3.643 MB / 0.9526 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/1.507, allocations: 0 / 0.9526 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01152/1.518, allocations: 1.68 MB / 0.9542 GB, free: 12.99 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 2 (revolute.phi,revolute.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 (256): * Single equations (assignments): 252 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03235/1.551, allocations: 14.95 MB / 0.9688 GB, free: 13.85 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01877/1.569, allocations: 8.824 MB / 0.9774 GB, free: 5.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.569, allocations: 4.188 kB / 0.9774 GB, free: 5.016 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006464/1.576, allocations: 3.323 MB / 0.9807 GB, free: 1.676 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005835/1.582, allocations: 0.7753 MB / 0.9814 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4134/1.995, allocations: 78.64 MB / 1.058 GB, free: 215.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005921/2.001, allocations: 4.82 MB / 1.063 GB, free: 210.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005774/2.007, allocations: 2.59 MB / 1.065 GB, free: 207.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004593/2.011, allocations: 3.057 MB / 1.068 GB, free: 204.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.814e-06/2.011, allocations: 0 / 1.068 GB, free: 204.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1795/2.191, allocations: 132.4 MB / 1.198 GB, free: 73.08 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.07/40.26, allocations: 11.33 kB / 1.198 GB, free: 73.07 MB / 0.6856 GB " [Timeout remaining time 620] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 43.378080025780946] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 40.426167047116905 40.446673174 39.968444831 Calling exit ...