Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001618/0.001618, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001905/0.001905, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 75.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4596, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01805/0.4777, allocations: 13.46 MB / 0.5437 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.4897, allocations: 4.193 MB / 0.5478 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003287/0.4931, allocations: 73.78 kB / 0.5478 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004147/0.4972, allocations: 1.954 MB / 0.5498 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005796/0.5031, allocations: 1.938 MB / 0.5516 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.5047, allocations: 0.5615 MB / 0.5522 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005888/0.5106, allocations: 4.043 MB / 0.5561 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003605/0.5143, allocations: 2.865 MB / 0.5589 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.517, allocations: 1.452 MB / 0.5604 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.5203, allocations: 2.001 MB / 0.5623 GB, free: 1.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007305/0.5211, allocations: 308 kB / 0.5626 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.5233, allocations: 1.01 MB / 0.5636 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00172/0.525, allocations: 1.854 MB / 0.5654 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002406/0.5274, allocations: 2.236 MB / 0.5676 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009692/0.5371, allocations: 7.318 MB / 0.5747 GB, free: 4.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.5372, allocations: 4 kB / 0.5747 GB, free: 4.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5372, allocations: 0 / 0.5747 GB, free: 4.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002973/0.5375, allocations: 4 kB / 0.5747 GB, free: 4.32 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01225/0.5498, allocations: 5.021 MB / 0.5796 GB, free: 15.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.5498, allocations: 8.031 kB / 0.5796 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00116/0.551, allocations: 0.8118 MB / 0.5804 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.5619, allocations: 3.184 MB / 0.5836 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005675/0.5676, allocations: 2.4 MB / 0.5859 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.5678, allocations: 238.2 kB / 0.5861 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006915/0.5685, allocations: 315.7 kB / 0.5864 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/0.5875, allocations: 12.08 MB / 0.5982 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.5877, allocations: 35.7 kB / 0.5983 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004358/0.5881, allocations: 147.8 kB / 0.5984 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004768/0.5929, allocations: 2.839 MB / 0.6012 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02293/0.6158, allocations: 11.35 MB / 0.6123 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06841/0.6843, allocations: 41.11 MB / 0.6524 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/0.6972, allocations: 6.082 MB / 0.6583 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004342/0.7016, allocations: 3.009 MB / 0.6613 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/0.7037, allocations: 1.88 MB / 0.6631 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.03e-05/0.7038, allocations: 52.56 kB / 0.6632 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 6.232e-06/0.7038, allocations: 0 / 0.6632 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.04987/0.7537, allocations: 20.22 MB / 0.6829 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.7538, allocations: 77.41 kB / 0.683 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004626/0.7584, allocations: 3.032 MB / 0.6859 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004099/0.7589, allocations: 61.7 kB / 0.686 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002273/0.7612, allocations: 3.112 MB / 0.689 GB, free: 12.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/0.7624, allocations: 1.066 MB / 0.6901 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001859/0.7643, allocations: 1.195 MB / 0.6913 GB, free: 10.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7644, allocations: 301.1 kB / 0.6915 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004443/0.7689, allocations: 2.85 MB / 0.6943 GB, free: 7.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006953/0.7759, allocations: 6.018 MB / 0.7002 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/0.7882, allocations: 9.661 MB / 0.7096 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.479e-05/0.7883, allocations: 32 kB / 0.7097 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.0176/0.8059, allocations: 10.04 MB / 0.7195 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/0.806, allocations: 56.91 kB / 0.7195 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/0.8061, allocations: 108 kB / 0.7196 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0035/0.8097, allocations: 1.373 MB / 0.721 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004661/0.8143, allocations: 1.365 MB / 0.7223 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3637/1.178, allocations: 7.809 MB / 0.7299 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005786/1.184, allocations: 364.5 kB / 0.7303 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001579/1.186, allocations: 346.4 kB / 0.7306 GB, free: 173.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 711 * Array equations: 6 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005474/1.191, allocations: 2.292 MB / 0.7328 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008151/1.192, allocations: 318.6 kB / 0.7331 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/1.204, allocations: 6.63 MB / 0.7396 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.514e-05/1.204, allocations: 50.45 kB / 0.7397 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/1.204, allocations: 8.125 kB / 0.7397 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/1.204, allocations: 12.69 kB / 0.7397 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/1.225, allocations: 13.89 MB / 0.7532 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/1.225, allocations: 6.562 kB / 0.7533 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/1.227, allocations: 448.9 kB / 0.7537 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002944/1.23, allocations: 1.217 MB / 0.7549 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/1.23, allocations: 57.78 kB / 0.7549 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007278/1.237, allocations: 7.019 MB / 0.7618 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.237, allocations: 11.94 kB / 0.7618 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/1.249, allocations: 9.879 MB / 0.7714 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.251, allocations: 371.3 kB / 0.7718 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004185/1.251, allocations: 51.92 kB / 0.7718 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/1.253, allocations: 194.9 kB / 0.772 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004084/1.253, allocations: 161.6 kB / 0.7722 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/1.253, allocations: 79.8 kB / 0.7723 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002375/1.256, allocations: 1.878 MB / 0.7741 GB, free: 148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.256, allocations: 0 / 0.7741 GB, free: 148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004728/1.26, allocations: 1.101 MB / 0.7752 GB, free: 146.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0121/1.272, allocations: 10.55 MB / 0.7855 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009312/1.282, allocations: 6.987 MB / 0.7923 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/1.282, allocations: 0 / 0.7923 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003502/1.285, allocations: 2.866 MB / 0.7951 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/1.288, allocations: 425.2 kB / 0.7955 GB, free: 126 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0654/1.353, allocations: 48.98 MB / 0.8433 GB, free: 72.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003494/1.357, allocations: 3.582 MB / 0.8468 GB, free: 68.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004227/1.361, allocations: 2.203 MB / 0.849 GB, free: 66.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002468/1.364, allocations: 2.065 MB / 0.851 GB, free: 64.18 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/1.364, allocations: 0 / 0.851 GB, free: 64.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/1.466, allocations: 70.04 MB / 0.9194 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.34/23.8, allocations: 22.88 kB / 0.9194 GB, free: 10.41 MB / 0.5919 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches