Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.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.001412/0.001412, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001537/0.001537, allocations: 221.2 kB / 22.92 MB, free: 5.535 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.3/1.3, allocations: 230.2 MB / 256.1 MB, free: 8.758 MB / 206.1 MB " [Timeout remaining time 179] 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.1986/0.1986, allocations: 46.89 MB / 359.3 MB, free: 5 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.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP2",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.002099/0.002099, allocations: 87.86 kB / 0.494 GB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2556, allocations: 65.98 MB / 0.5584 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.0139/0.2695, allocations: 13.34 MB / 0.5714 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008837/0.2783, allocations: 4.907 MB / 0.5762 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.2796, allocations: 83.75 kB / 0.5763 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006595/0.2861, allocations: 4.03 MB / 0.5803 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.2905, allocations: 2.229 MB / 0.5824 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.2927, allocations: 1.181 MB / 0.5836 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006372/0.299, allocations: 5.814 MB / 0.5893 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003975/0.303, allocations: 3.741 MB / 0.5929 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.3056, allocations: 2.177 MB / 0.595 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003677/0.3093, allocations: 3.186 MB / 0.5982 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007728/0.3101, allocations: 0.5 MB / 0.5986 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.3125, allocations: 1.685 MB / 0.6003 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002325/0.3149, allocations: 2.727 MB / 0.603 GB, free: 7.449 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002974/0.3178, allocations: 3.077 MB / 0.606 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.3279, allocations: 10.1 MB / 0.6158 GB, free: 10.21 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3279, allocations: 4 kB / 0.6158 GB, free: 10.21 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3279, allocations: 0 / 0.6158 GB, free: 10.21 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001451/0.328, allocations: 0 / 0.6158 GB, free: 10.21 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.013/0.341, allocations: 6.806 MB / 0.6225 GB, free: 3.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3411, allocations: 8.031 kB / 0.6225 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001211/0.3423, allocations: 0.9216 MB / 0.6234 GB, free: 2.371 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0851/0.4274, allocations: 7.448 MB / 0.6307 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008131/0.4355, allocations: 4.151 MB / 0.6347 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.4358, allocations: 354 kB / 0.635 GB, free: 6.344 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.4368, allocations: 427.7 kB / 0.6355 GB, free: 5.926 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/0.4597, allocations: 13.78 MB / 0.6489 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.4598, allocations: 47.58 kB / 0.649 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005068/0.4603, allocations: 207.8 kB / 0.6492 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003446/0.4637, allocations: 2.402 MB / 0.6515 GB, free: 4.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02127/0.485, allocations: 11.63 MB / 0.6629 GB, free: 8.988 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05819/0.5432, allocations: 51.16 MB / 0.7128 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.5551, allocations: 4.501 MB / 0.7172 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003344/0.5584, allocations: 2.596 MB / 0.7197 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/0.5746, allocations: 12.43 MB / 0.7319 GB, free: 76 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.5746, allocations: 59.81 kB / 0.7319 GB, free: 8 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=191): time 3.988e-06/0.5746, allocations: 4 kB / 0.7319 GB, free: 4 kB / 0.5606 GB Notification: Performance of matching and sorting (n=242): time 0.3206/0.8953, allocations: 42.55 MB / 0.7735 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.8953, allocations: 235.6 kB / 0.7737 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004162/0.8995, allocations: 4.805 MB / 0.7784 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.8997, allocations: 61.7 kB / 0.7785 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.9009, allocations: 4.054 MB / 0.7824 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004985/0.9014, allocations: 0.9554 MB / 0.7834 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/0.9028, allocations: 1.469 MB / 0.7848 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 2.909e-05/0.9028, allocations: 301.1 kB / 0.7851 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003247/0.9061, allocations: 3.262 MB / 0.7883 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004275/0.9104, allocations: 7.55 MB / 0.7956 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008094/0.9185, allocations: 11.59 MB / 0.807 GB, free: 89.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.245e-05/0.9185, allocations: 44 kB / 0.807 GB, free: 89.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02021/0.9387, allocations: 13.84 MB / 0.8205 GB, free: 75.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.159e-05/0.9388, allocations: 68.22 kB / 0.8206 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-05/0.9389, allocations: 162.1 kB / 0.8207 GB, free: 75.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009528/0.9484, allocations: 3.771 MB / 0.8244 GB, free: 71.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003901/0.9523, allocations: 1.602 MB / 0.826 GB, free: 70.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/0.9721, allocations: 19.17 MB / 0.8447 GB, free: 51.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004734/0.9769, allocations: 455.3 kB / 0.8451 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004508/0.9773, allocations: 432 kB / 0.8456 GB, free: 50.17 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],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 (857): * Single equations (assignments): 853 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002674/0.98, allocations: 2.66 MB / 0.8482 GB, free: 47.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005519/0.9805, allocations: 453 kB / 0.8486 GB, free: 47.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/0.995, allocations: 8.095 MB / 0.8565 GB, free: 38.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.995, allocations: 32 kB / 0.8565 GB, free: 38.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.9951, allocations: 12 kB / 0.8565 GB, free: 38.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.9951, allocations: 11.95 kB / 0.8565 GB, free: 38.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02412/1.019, allocations: 17.27 MB / 0.8734 GB, free: 21.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/1.019, allocations: 4 kB / 0.8734 GB, free: 21.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/1.021, allocations: 399.4 kB / 0.8738 GB, free: 21.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009838/1.031, allocations: 3.839 MB / 0.8775 GB, free: 17.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002116/1.031, allocations: 39.98 kB / 0.8776 GB, free: 17.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/1.05, allocations: 17.53 MB / 0.8947 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.05, allocations: 4.062 kB / 0.8947 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02343/1.073, allocations: 12.52 MB / 0.9069 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.074, allocations: 485.9 kB / 0.9074 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006277/1.075, allocations: 43.75 kB / 0.9074 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/1.077, allocations: 203.7 kB / 0.9076 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005743/1.078, allocations: 150.6 kB / 0.9078 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/1.078, allocations: 60.05 kB / 0.9078 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004479/1.082, allocations: 3.002 MB / 0.9108 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/1.082, allocations: 0 / 0.9108 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00563/1.088, allocations: 1.422 MB / 0.9122 GB, free: 13.71 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (167): * Single equations (assignments): 163 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02421/1.112, allocations: 13.24 MB / 0.9251 GB, free: 444 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.124, allocations: 7.579 MB / 0.9325 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.124, allocations: 4 kB / 0.9325 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004012/1.128, allocations: 2.732 MB / 0.9352 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/1.13, allocations: 0.5444 MB / 0.9357 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2851/1.416, allocations: 66.03 MB / 1 GB, free: 219.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003033/1.419, allocations: 4.09 MB / 1.004 GB, free: 217.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003502/1.422, allocations: 2.176 MB / 1.006 GB, free: 215.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002072/1.424, allocations: 2.479 MB / 1.009 GB, free: 213.1 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/1.424, allocations: 0 / 1.009 GB, free: 213.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/1.541, allocations: 104.4 MB / 1.111 GB, free: 109.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.53/29.07, allocations: 7.375 kB / 1.111 GB, free: 109.2 MB / 0.6544 GB " [Timeout remaining time 631] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 31.67383138400328]