Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 75.89 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3753, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01513/0.3905, allocations: 11.96 MB / 0.5422 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.4022, allocations: 4.377 MB / 0.5465 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/0.4055, allocations: 74.62 kB / 0.5465 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006171/0.4117, allocations: 2.754 MB / 0.5492 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007073/0.4189, allocations: 2.054 MB / 0.5512 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002623/0.4216, allocations: 1.002 MB / 0.5522 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007521/0.4291, allocations: 5.372 MB / 0.5575 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00435/0.4335, allocations: 3.436 MB / 0.5608 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.4367, allocations: 1.756 MB / 0.5625 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0036/0.4403, allocations: 2.438 MB / 0.5649 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.4416, allocations: 364 kB / 0.5653 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/0.4449, allocations: 1.4 MB / 0.5666 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002859/0.4478, allocations: 2.197 MB / 0.5688 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004261/0.4521, allocations: 2.552 MB / 0.5713 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.4631, allocations: 8.214 MB / 0.5793 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.4632, allocations: 0 / 0.5793 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.619e-06/0.4632, allocations: 0 / 0.5793 GB, free: 15.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003111/0.4635, allocations: 3.938 kB / 0.5793 GB, free: 15.69 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01846/0.482, allocations: 6.03 MB / 0.5852 GB, free: 9.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.4821, allocations: 8.031 kB / 0.5852 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002997/0.4851, allocations: 0.7946 MB / 0.586 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0916/0.5767, allocations: 7.242 MB / 0.593 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009698/0.5865, allocations: 3.613 MB / 0.5966 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003002/0.5868, allocations: 258.8 kB / 0.5968 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.5885, allocations: 351.7 kB / 0.5971 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02619/0.6147, allocations: 12.28 MB / 0.6091 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003771/0.6151, allocations: 59.56 kB / 0.6092 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00146/0.6166, allocations: 159.8 kB / 0.6093 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004453/0.6211, allocations: 2.381 MB / 0.6117 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02347/0.6446, allocations: 10.7 MB / 0.6221 GB, free: 2.828 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07051/0.7152, allocations: 48.65 MB / 0.6696 GB, free: 0.7617 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/0.7316, allocations: 5.86 MB / 0.6753 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004322/0.736, allocations: 3.118 MB / 0.6784 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02504/0.7611, allocations: 13.01 MB / 0.6911 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.7612, allocations: 55.81 kB / 0.6912 GB, free: 10.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 5.45e-06/0.7612, allocations: 0 / 0.6912 GB, free: 10.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.3971/1.158, allocations: 38.95 MB / 0.7292 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/1.158, allocations: 206.4 kB / 0.7294 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006475/1.165, allocations: 4.398 MB / 0.7337 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006418/1.166, allocations: 69.33 kB / 0.7338 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002205/1.168, allocations: 3.555 MB / 0.7372 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001375/1.169, allocations: 1.004 MB / 0.7382 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002228/1.171, allocations: 1.373 MB / 0.7395 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.604e-05/1.172, allocations: 304.7 kB / 0.7398 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/1.175, allocations: 3.116 MB / 0.7429 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005598/1.181, allocations: 7.045 MB / 0.7498 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/1.192, allocations: 10.95 MB / 0.7605 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.192, allocations: 36 kB / 0.7605 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02303/1.215, allocations: 12.7 MB / 0.7729 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.51e-05/1.215, allocations: 64 kB / 0.773 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/1.215, allocations: 136 kB / 0.7731 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008474/1.224, allocations: 3.24 MB / 0.7762 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004879/1.229, allocations: 1.536 MB / 0.7777 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/1.248, allocations: 16.61 MB / 0.794 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005668/1.254, allocations: 431.4 kB / 0.7944 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/1.255, allocations: 404 kB / 0.7948 GB, free: 100.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004271/1.259, allocations: 2.347 MB / 0.7971 GB, free: 97.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.26, allocations: 433.1 kB / 0.7975 GB, free: 97.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.274, allocations: 7.515 MB / 0.8048 GB, free: 89.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.695e-05/1.274, allocations: 24 kB / 0.8048 GB, free: 89.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/1.274, allocations: 12 kB / 0.8048 GB, free: 89.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.256e-05/1.275, allocations: 15.33 kB / 0.8049 GB, free: 89.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02702/1.302, allocations: 15.04 MB / 0.8195 GB, free: 74.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.053e-05/1.302, allocations: 4 kB / 0.8195 GB, free: 74.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002158/1.304, allocations: 375.5 kB / 0.8199 GB, free: 74.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008113/1.312, allocations: 2.931 MB / 0.8228 GB, free: 71.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005662/1.313, allocations: 39.98 kB / 0.8228 GB, free: 71.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/1.33, allocations: 14.82 MB / 0.8373 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.33, allocations: 4 kB / 0.8373 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/1.348, allocations: 11.5 MB / 0.8485 GB, free: 44.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.349, allocations: 473 kB / 0.849 GB, free: 44.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/1.35, allocations: 44 kB / 0.849 GB, free: 44.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/1.353, allocations: 195.7 kB / 0.8492 GB, free: 44.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006019/1.353, allocations: 137.8 kB / 0.8493 GB, free: 44.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/1.353, allocations: 71.34 kB / 0.8494 GB, free: 44.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003776/1.357, allocations: 2.746 MB / 0.8521 GB, free: 41.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.002e-06/1.357, allocations: 0 / 0.8521 GB, free: 41.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006042/1.363, allocations: 1.301 MB / 0.8533 GB, free: 39.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01749/1.381, allocations: 12.16 MB / 0.8652 GB, free: 27.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01098/1.392, allocations: 7.858 MB / 0.8729 GB, free: 19.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.392, allocations: 0 / 0.8729 GB, free: 19.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00446/1.396, allocations: 3.141 MB / 0.876 GB, free: 16.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/1.4, allocations: 0.5176 MB / 0.8765 GB, free: 16.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1091/1.509, allocations: 60.72 MB / 0.9358 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005505/1.515, allocations: 3.67 MB / 0.9393 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005352/1.52, allocations: 2.172 MB / 0.9415 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004973/1.525, allocations: 2.218 MB / 0.9436 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of SimCode: time 1.433e-06/1.525, allocations: 0 / 0.9436 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3999/1.925, allocations: 94.26 MB / 1.036 GB, free: 145.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.28/30.21, allocations: 13.98 kB / 1.036 GB, free: 145.1 MB / 0.6231 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches