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.001297/0.001297, allocations: 107.7 kB / 16.41 MB, free: 6.496 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.001239/0.001239, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.314/1.314, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2038/0.2038, allocations: 43.52 MB / 314.1 MB, free: 464 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.001419/0.001419, allocations: 63.91 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0971/0.09853, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01371/0.1123, allocations: 13.3 MB / 0.5004 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009217/0.1215, allocations: 4.857 MB / 0.5051 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.1238, allocations: 79.81 kB / 0.5052 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007416/0.1313, allocations: 3.98 MB / 0.5091 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005749/0.1371, allocations: 2.276 MB / 0.5113 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.1398, allocations: 1.181 MB / 0.5125 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007147/0.147, allocations: 5.58 MB / 0.5179 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006113/0.1531, allocations: 5.182 MB / 0.523 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/0.1565, allocations: 2.189 MB / 0.5251 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00395/0.1605, allocations: 2.972 MB / 0.528 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001253/0.1617, allocations: 0.5 MB / 0.5285 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.1649, allocations: 1.654 MB / 0.5301 GB, free: 344 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2213/0.3862, allocations: 2.678 MB / 0.5327 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004312/0.3906, allocations: 3.105 MB / 0.5358 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.4064, allocations: 10.19 MB / 0.5457 GB, free: 10.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4065, allocations: 0 / 0.5457 GB, free: 10.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4065, allocations: 0 / 0.5457 GB, free: 10.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004147/0.4069, allocations: 1.281 kB / 0.5457 GB, free: 10.17 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.02244/0.4294, allocations: 6.856 MB / 0.5524 GB, free: 7.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4294, allocations: 13.98 kB / 0.5524 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002095/0.4315, allocations: 0.9175 MB / 0.5533 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08997/0.5215, allocations: 7.45 MB / 0.5606 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.5331, allocations: 4.69 MB / 0.5652 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002997/0.5335, allocations: 346.8 kB / 0.5655 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/0.5355, allocations: 426.8 kB / 0.5659 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02624/0.5618, allocations: 13.77 MB / 0.5794 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/0.5619, allocations: 54.48 kB / 0.5794 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005831/0.5625, allocations: 199.4 kB / 0.5796 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003725/0.5663, allocations: 2.408 MB / 0.582 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02436/0.5906, allocations: 11.61 MB / 0.5933 GB, free: 12.48 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.06786/0.6585, allocations: 51.2 MB / 0.6433 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.671, allocations: 4.67 MB / 0.6479 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003604/0.6747, allocations: 2.782 MB / 0.6506 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01953/0.6942, allocations: 12.37 MB / 0.6627 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.922e-05/0.6943, allocations: 55.84 kB / 0.6627 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=191): time 5.54e-06/0.6943, allocations: 0 / 0.6627 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=242): time 0.1519/0.8463, allocations: 42.91 MB / 0.7046 GB, free: 9.094 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.8465, allocations: 241.7 kB / 0.7049 GB, free: 8.809 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008187/0.8547, allocations: 4.843 MB / 0.7096 GB, free: 3.965 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005791/0.8553, allocations: 61.7 kB / 0.7096 GB, free: 3.898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002653/0.8579, allocations: 4.07 MB / 0.7136 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001217/0.8592, allocations: 0.9442 MB / 0.7145 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002408/0.8616, allocations: 1.472 MB / 0.716 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.8617, allocations: 305.1 kB / 0.7163 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005126/0.8668, allocations: 3.262 MB / 0.7195 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008695/0.8756, allocations: 7.542 MB / 0.7268 GB, free: 288 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/0.8886, allocations: 11.6 MB / 0.7381 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.213e-05/0.8887, allocations: 44 kB / 0.7382 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02947/0.9182, allocations: 13.88 MB / 0.7517 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.9184, allocations: 68 kB / 0.7518 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001734/0.9185, allocations: 152 kB / 0.752 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/0.9308, allocations: 3.771 MB / 0.7556 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2459/1.177, allocations: 1.594 MB / 0.7572 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02986/1.207, allocations: 19.17 MB / 0.7759 GB, free: 199.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006524/1.213, allocations: 451.6 kB / 0.7763 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/1.215, allocations: 432 kB / 0.7768 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.005314/1.22, allocations: 2.665 MB / 0.7794 GB, free: 198 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009271/1.221, allocations: 460.3 kB / 0.7798 GB, free: 198 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0165/1.238, allocations: 8.141 MB / 0.7877 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.843e-05/1.238, allocations: 31.38 kB / 0.7878 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/1.238, allocations: 11.75 kB / 0.7878 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-05/1.238, allocations: 14.06 kB / 0.7878 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03324/1.271, allocations: 17.31 MB / 0.8047 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/1.271, allocations: 4 kB / 0.8047 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/1.273, allocations: 391.4 kB / 0.8051 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01095/1.284, allocations: 3.828 MB / 0.8088 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000596/1.285, allocations: 48.91 kB / 0.8089 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/1.306, allocations: 17.54 MB / 0.826 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.306, allocations: 0 / 0.826 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02149/1.327, allocations: 12.56 MB / 0.8383 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003317/1.331, allocations: 0.9536 MB / 0.8392 GB, free: 150.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/1.332, allocations: 40 kB / 0.8392 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/1.334, allocations: 205.7 kB / 0.8394 GB, free: 149.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006698/1.335, allocations: 147.3 kB / 0.8396 GB, free: 149.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/1.335, allocations: 59.98 kB / 0.8396 GB, free: 149.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005589/1.341, allocations: 3.025 MB / 0.8426 GB, free: 146.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.51e-07/1.341, allocations: 3.656 kB / 0.8426 GB, free: 146.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008356/1.349, allocations: 1.443 MB / 0.844 GB, free: 145.3 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.02267/1.372, allocations: 13.26 MB / 0.8569 GB, free: 132 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01146/1.384, allocations: 7.91 MB / 0.8647 GB, free: 124.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.384, allocations: 5.875 kB / 0.8647 GB, free: 124.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004196/1.388, allocations: 2.974 MB / 0.8676 GB, free: 121.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004833/1.393, allocations: 0.5475 MB / 0.8681 GB, free: 120.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1133/1.506, allocations: 66.19 MB / 0.9327 GB, free: 47.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007134/1.513, allocations: 4.108 MB / 0.9367 GB, free: 43.81 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005179/1.518, allocations: 2.171 MB / 0.9389 GB, free: 41.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004007/1.523, allocations: 2.487 MB / 0.9413 GB, free: 39.14 MB / 0.5919 GB Notification: Performance of SimCode: time 1.222e-06/1.523, allocations: 0 / 0.9413 GB, free: 39.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4065/1.929, allocations: 103.3 MB / 1.042 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.81/31.74, allocations: 9.047 kB / 1.042 GB, free: 161.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)