Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 104 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.233/0.233, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 73.45 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1275, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01577/0.1433, allocations: 13.3 MB / 0.5004 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.1541, allocations: 4.853 MB / 0.5051 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.1565, allocations: 79.81 kB / 0.5052 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008312/0.1649, allocations: 3.983 MB / 0.5091 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006673/0.1716, allocations: 2.202 MB / 0.5113 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.1749, allocations: 1.189 MB / 0.5124 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009273/0.1842, allocations: 5.576 MB / 0.5179 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00713/0.1913, allocations: 5.19 MB / 0.5229 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004439/0.1958, allocations: 2.185 MB / 0.5251 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005247/0.2011, allocations: 2.968 MB / 0.528 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001871/0.203, allocations: 0.5 MB / 0.5285 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003976/0.207, allocations: 1.65 MB / 0.5301 GB, free: 396 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2447/0.4517, allocations: 2.651 MB / 0.5327 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006228/0.458, allocations: 3.109 MB / 0.5357 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01676/0.4748, allocations: 10.18 MB / 0.5456 GB, free: 10.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4749, allocations: 0 / 0.5456 GB, free: 10.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4749, allocations: 0.875 kB / 0.5456 GB, free: 10.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004144/0.4753, allocations: 0 / 0.5456 GB, free: 10.18 MB / 414.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.0278/0.5031, allocations: 6.858 MB / 0.5523 GB, free: 7.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.5032, allocations: 14.8 kB / 0.5523 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003779/0.507, allocations: 0.9167 MB / 0.5532 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09643/0.6034, allocations: 7.449 MB / 0.5605 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/0.6167, allocations: 4.688 MB / 0.5651 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.6171, allocations: 346.7 kB / 0.5654 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.6189, allocations: 433 kB / 0.5658 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02981/0.6487, allocations: 13.77 MB / 0.5793 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/0.649, allocations: 51.77 kB / 0.5793 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009558/0.6499, allocations: 200.5 kB / 0.5795 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004177/0.6541, allocations: 2.408 MB / 0.5819 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/0.6821, allocations: 11.61 MB / 0.5932 GB, free: 12.52 MB / 446.1 MB 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.0803/0.7625, allocations: 51.21 MB / 0.6432 GB, free: 8.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/0.7763, allocations: 4.669 MB / 0.6478 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004709/0.7811, allocations: 2.782 MB / 0.6505 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02186/0.8029, allocations: 12.36 MB / 0.6626 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.804e-05/0.8031, allocations: 63.06 kB / 0.6626 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=191): time 6.462e-06/0.8031, allocations: 3.75 kB / 0.6626 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=242): time 0.1652/0.9683, allocations: 42.9 MB / 0.7045 GB, free: 9.129 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/0.9685, allocations: 235.6 kB / 0.7048 GB, free: 8.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009454/0.978, allocations: 4.851 MB / 0.7095 GB, free: 4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008269/0.9789, allocations: 61.7 kB / 0.7096 GB, free: 3.934 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004197/0.9831, allocations: 4.065 MB / 0.7135 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001964/0.9851, allocations: 0.9499 MB / 0.7144 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003113/0.9882, allocations: 1.469 MB / 0.7159 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.9884, allocations: 301.1 kB / 0.7162 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006199/0.9946, allocations: 3.262 MB / 0.7194 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01094/1.006, allocations: 7.541 MB / 0.7267 GB, free: 328 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01954/1.025, allocations: 11.6 MB / 0.7381 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001525/1.025, allocations: 44 kB / 0.7381 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03365/1.059, allocations: 13.87 MB / 0.7516 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.059, allocations: 68 kB / 0.7517 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002366/1.059, allocations: 156.1 kB / 0.7519 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0132/1.073, allocations: 3.775 MB / 0.7555 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.279/1.352, allocations: 1.588 MB / 0.7571 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02934/1.381, allocations: 19.17 MB / 0.7758 GB, free: 199.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006225/1.387, allocations: 451 kB / 0.7762 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/1.389, allocations: 433.7 kB / 0.7767 GB, free: 199 MB / 0.5919 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.004759/1.393, allocations: 2.66 MB / 0.7793 GB, free: 198 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007823/1.394, allocations: 462.4 kB / 0.7797 GB, free: 198 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/1.41, allocations: 8.139 MB / 0.7876 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.62e-05/1.41, allocations: 30.98 kB / 0.7877 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/1.41, allocations: 11.72 kB / 0.7877 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.244e-05/1.41, allocations: 13.66 kB / 0.7877 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04503/1.455, allocations: 17.31 MB / 0.8046 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.114e-05/1.455, allocations: 3.875 kB / 0.8046 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002933/1.458, allocations: 392.9 kB / 0.805 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01701/1.475, allocations: 3.834 MB / 0.8087 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000786/1.476, allocations: 43.48 kB / 0.8088 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02791/1.504, allocations: 17.53 MB / 0.8259 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.504, allocations: 7.938 kB / 0.8259 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02009/1.524, allocations: 12.55 MB / 0.8381 GB, free: 151.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.526, allocations: 0.9613 MB / 0.8391 GB, free: 150.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006753/1.527, allocations: 34.19 kB / 0.8391 GB, free: 150.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/1.529, allocations: 211.3 kB / 0.8393 GB, free: 150 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005423/1.53, allocations: 142.2 kB / 0.8395 GB, free: 149.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.53, allocations: 59.98 kB / 0.8395 GB, free: 149.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003936/1.534, allocations: 3.027 MB / 0.8425 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.142e-06/1.534, allocations: 0 / 0.8425 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005987/1.54, allocations: 1.443 MB / 0.8439 GB, free: 145.4 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.02033/1.56, allocations: 13.26 MB / 0.8568 GB, free: 132.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.571, allocations: 7.923 MB / 0.8646 GB, free: 124.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.571, allocations: 0 / 0.8646 GB, free: 124.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003709/1.575, allocations: 2.975 MB / 0.8675 GB, free: 121.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005257/1.58, allocations: 0.5529 MB / 0.868 GB, free: 120.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1057/1.686, allocations: 66.19 MB / 0.9326 GB, free: 48.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005404/1.691, allocations: 4.104 MB / 0.9367 GB, free: 43.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005284/1.697, allocations: 2.171 MB / 0.9388 GB, free: 41.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003933/1.701, allocations: 2.487 MB / 0.9412 GB, free: 39.26 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/1.701, allocations: 0 / 0.9412 GB, free: 39.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4274/2.128, allocations: 103.3 MB / 1.042 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.32/34.45, allocations: 8 kB / 1.042 GB, free: 163.9 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.0016 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)