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.001166/0.001166, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2804/0.2804, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 75.56 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1269, allocations: 62.46 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01336/0.1403, allocations: 13.45 MB / 493.6 MB, free: 7.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008375/0.1487, allocations: 4.217 MB / 497.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/0.1514, allocations: 67.88 kB / 497.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004422/0.1559, allocations: 1.958 MB / 499.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005514/0.1615, allocations: 1.879 MB / 0.4899 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.1637, allocations: 0.5498 MB / 0.4905 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007365/0.1711, allocations: 4.035 MB / 0.4944 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005601/0.1767, allocations: 2.882 MB / 0.4972 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.18, allocations: 1.429 MB / 0.4986 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/0.1835, allocations: 2.017 MB / 0.5006 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.1846, allocations: 311.9 kB / 0.5009 GB, free: 4.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.1873, allocations: 0.9986 MB / 0.5019 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002402/0.1897, allocations: 1.854 MB / 0.5037 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2167/0.4064, allocations: 2.233 MB / 0.5059 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009054/0.4155, allocations: 6.975 MB / 0.5127 GB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4156, allocations: 0 / 0.5127 GB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4156, allocations: 1.531 kB / 0.5127 GB, free: 15.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002894/0.4159, allocations: 0 / 0.5127 GB, free: 15.39 MB / 382.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.01493/0.4308, allocations: 4.895 MB / 0.5175 GB, free: 13.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4309, allocations: 9.469 kB / 0.5175 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002098/0.433, allocations: 0.8195 MB / 0.5183 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.4447, allocations: 3.146 MB / 0.5213 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006833/0.4516, allocations: 2.377 MB / 0.5237 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003647/0.452, allocations: 236.1 kB / 0.5239 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002259/0.4543, allocations: 306.2 kB / 0.5242 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02429/0.4786, allocations: 12.09 MB / 0.536 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/0.4788, allocations: 36.81 kB / 0.536 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008019/0.4796, allocations: 142.2 kB / 0.5362 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004499/0.4841, allocations: 2.837 MB / 0.5389 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02115/0.5053, allocations: 11.36 MB / 0.55 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06258/0.5679, allocations: 41.28 MB / 0.5903 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.5808, allocations: 6.068 MB / 0.5962 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004389/0.5853, allocations: 3.016 MB / 0.5992 GB, free: 8.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002042/0.5873, allocations: 1.886 MB / 0.601 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.5874, allocations: 56.56 kB / 0.6011 GB, free: 6.676 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 5.891e-06/0.5874, allocations: 0 / 0.6011 GB, free: 6.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=283): time 0.0519/0.6393, allocations: 20.13 MB / 0.6207 GB, free: 2.422 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.6394, allocations: 73.41 kB / 0.6208 GB, free: 2.336 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005252/0.6447, allocations: 3.031 MB / 0.6238 GB, free: 15.29 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006152/0.6453, allocations: 68.36 kB / 0.6238 GB, free: 15.21 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002193/0.6475, allocations: 2.986 MB / 0.6268 GB, free: 12.22 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001584/0.6491, allocations: 1.017 MB / 0.6278 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003319/0.6525, allocations: 1.194 MB / 0.6289 GB, free: 10.01 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6526, allocations: 301.1 kB / 0.6292 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005218/0.6578, allocations: 2.846 MB / 0.632 GB, free: 6.863 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007718/0.6656, allocations: 6.016 MB / 0.6379 GB, free: 15.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/0.6785, allocations: 9.66 MB / 0.6473 GB, free: 4.605 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/0.6786, allocations: 32 kB / 0.6473 GB, free: 4.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02261/0.7013, allocations: 10.02 MB / 0.6571 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.7014, allocations: 54.34 kB / 0.6572 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001508/0.7016, allocations: 111.9 kB / 0.6573 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003969/0.7056, allocations: 1.37 MB / 0.6586 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005143/0.7107, allocations: 1.365 MB / 0.6599 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/0.7218, allocations: 7.816 MB / 0.6676 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005247/0.7271, allocations: 368.3 kB / 0.6679 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/0.7284, allocations: 348 kB / 0.6683 GB, free: 15.43 MB / 0.5137 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.005477/0.7339, allocations: 2.295 MB / 0.6705 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008236/0.7348, allocations: 304.1 kB / 0.6708 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.7475, allocations: 6.634 MB / 0.6773 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.596e-05/0.7476, allocations: 40 kB / 0.6773 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/0.7477, allocations: 7.938 kB / 0.6773 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.04e-05/0.7477, allocations: 11.95 kB / 0.6773 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03099/0.7787, allocations: 14.02 MB / 0.691 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.861e-05/0.7788, allocations: 8.906 kB / 0.691 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/0.7812, allocations: 459.2 kB / 0.6915 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003496/0.7847, allocations: 1.21 MB / 0.6926 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000569/0.7853, allocations: 51.98 kB / 0.6927 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009102/0.7944, allocations: 6.98 MB / 0.6995 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.7945, allocations: 11.94 kB / 0.6995 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/0.811, allocations: 9.855 MB / 0.7091 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.8122, allocations: 353.2 kB / 0.7095 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/0.8134, allocations: 47.98 kB / 0.7095 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/0.8159, allocations: 187.7 kB / 0.7097 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009259/0.8169, allocations: 169.5 kB / 0.7099 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005126/0.8174, allocations: 79.11 kB / 0.7099 GB, free: 4.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004989/0.8224, allocations: 1.878 MB / 0.7118 GB, free: 2.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8225, allocations: 0 / 0.7118 GB, free: 2.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007944/0.8304, allocations: 1.102 MB / 0.7128 GB, free: 1.234 MB / 0.545 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.2292/1.06, allocations: 10.52 MB / 0.7231 GB, free: 194.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01904/1.079, allocations: 11.99 MB / 0.7348 GB, free: 192.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.079, allocations: 0 / 0.7348 GB, free: 192.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003423/1.082, allocations: 2.852 MB / 0.7376 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/1.085, allocations: 431.1 kB / 0.738 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06024/1.145, allocations: 52.73 MB / 0.7895 GB, free: 135.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003376/1.148, allocations: 3.57 MB / 0.793 GB, free: 132.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00464/1.153, allocations: 2.203 MB / 0.7952 GB, free: 130.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002298/1.155, allocations: 2.065 MB / 0.7972 GB, free: 128.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/1.155, allocations: 4 kB / 0.7972 GB, free: 128.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.264, allocations: 73.18 MB / 0.8686 GB, free: 55.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.61, allocations: 4.953 kB / 0.8686 GB, free: 55.08 MB / 0.545 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