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.0009538/0.0009539, allocations: 96.89 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 202 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.8 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1924/0.1924, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.0002596, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1125, allocations: 63.57 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2465/0.359, allocations: 39.97 MB / 0.5109 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0207/0.3798, allocations: 8.687 MB / 0.5194 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007946/0.3877, allocations: 168.2 kB / 0.5195 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.3895, allocations: 0.4888 MB / 0.52 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00512/0.3946, allocations: 1.781 MB / 0.5217 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.3961, allocations: 0.5105 MB / 0.5222 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007154/0.4033, allocations: 5.695 MB / 0.5278 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00475/0.4081, allocations: 3.539 MB / 0.5313 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.4099, allocations: 1.097 MB / 0.5323 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.4123, allocations: 1.922 MB / 0.5342 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004627/0.4128, allocations: 153.6 kB / 0.5344 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.4145, allocations: 0.9225 MB / 0.5353 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.4158, allocations: 1.71 MB / 0.5369 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.4175, allocations: 2.078 MB / 0.539 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006841/0.4243, allocations: 6.728 MB / 0.5455 GB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4243, allocations: 0 / 0.5455 GB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4243, allocations: 0 / 0.5455 GB, free: 13.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000269/0.4246, allocations: 2.469 kB / 0.5455 GB, free: 13.11 MB / 398.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.008097/0.4327, allocations: 3.975 MB / 0.5494 GB, free: 9.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4328, allocations: 12.88 kB / 0.5494 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001317/0.4341, allocations: 0.8133 MB / 0.5502 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.4451, allocations: 3.243 MB / 0.5534 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004528/0.4496, allocations: 2.38 MB / 0.5557 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.4498, allocations: 235.6 kB / 0.5559 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000663/0.4505, allocations: 310.3 kB / 0.5562 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/0.4687, allocations: 12.09 MB / 0.568 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.777e-05/0.4689, allocations: 27.75 kB / 0.5681 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004193/0.4693, allocations: 151.2 kB / 0.5682 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004617/0.4739, allocations: 2.837 MB / 0.571 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/0.4949, allocations: 11.37 MB / 0.5821 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06342/0.5584, allocations: 41.28 MB / 0.6224 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/0.5716, allocations: 6.074 MB / 0.6283 GB, free: 7.645 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004418/0.5761, allocations: 3.012 MB / 0.6313 GB, free: 4.625 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/0.5779, allocations: 1.883 MB / 0.6331 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/0.578, allocations: 57.16 kB / 0.6332 GB, free: 2.359 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 5.961e-06/0.578, allocations: 0 / 0.6332 GB, free: 2.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05096/0.629, allocations: 20.12 MB / 0.6528 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.6291, allocations: 77.41 kB / 0.6529 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005035/0.6341, allocations: 3.023 MB / 0.6558 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004615/0.6346, allocations: 61.7 kB / 0.6559 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001938/0.6366, allocations: 2.993 MB / 0.6588 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/0.6378, allocations: 1.017 MB / 0.6598 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.6389, allocations: 0.5149 MB / 0.6603 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.639, allocations: 305.1 kB / 0.6606 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004435/0.6435, allocations: 2.846 MB / 0.6634 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006952/0.6504, allocations: 6.018 MB / 0.6693 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01415/0.6646, allocations: 9.657 MB / 0.6787 GB, free: 444 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001307/0.6648, allocations: 32 kB / 0.6787 GB, free: 412 kB / 0.5137 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02133/0.6861, allocations: 10.02 MB / 0.6885 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.6863, allocations: 58.28 kB / 0.6886 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002143/0.6866, allocations: 108 kB / 0.6887 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003945/0.6905, allocations: 1.363 MB / 0.69 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005243/0.6958, allocations: 1.376 MB / 0.6913 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.7061, allocations: 7.294 MB / 0.6985 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004638/0.7107, allocations: 367.7 kB / 0.6988 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/0.7121, allocations: 342.1 kB / 0.6991 GB, free: 11.36 MB / 0.545 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.007033/0.7192, allocations: 2.298 MB / 0.7014 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/0.7204, allocations: 300.1 kB / 0.7017 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.7337, allocations: 6.627 MB / 0.7081 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.899e-05/0.7338, allocations: 55.92 kB / 0.7082 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/0.7338, allocations: 4 kB / 0.7082 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.57e-05/0.7338, allocations: 15.95 kB / 0.7082 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2771/1.011, allocations: 14 MB / 0.7219 GB, free: 158 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.011, allocations: 6.75 kB / 0.7219 GB, free: 158 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/1.013, allocations: 450.5 kB / 0.7223 GB, free: 158 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003236/1.016, allocations: 1.219 MB / 0.7235 GB, free: 157.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/1.017, allocations: 50.91 kB / 0.7236 GB, free: 157.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/1.024, allocations: 6.519 MB / 0.7299 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.024, allocations: 12.94 kB / 0.7299 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/1.037, allocations: 9.852 MB / 0.7396 GB, free: 151 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009312/1.038, allocations: 357.8 kB / 0.7399 GB, free: 150.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004287/1.038, allocations: 47.94 kB / 0.7399 GB, free: 150.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/1.04, allocations: 199.6 kB / 0.7401 GB, free: 150.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004211/1.04, allocations: 162.1 kB / 0.7403 GB, free: 150.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.04, allocations: 80.19 kB / 0.7404 GB, free: 150.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002578/1.043, allocations: 1.875 MB / 0.7422 GB, free: 150.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.043, allocations: 0 / 0.7422 GB, free: 150.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004844/1.048, allocations: 1.098 MB / 0.7433 GB, free: 150.1 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.01278/1.061, allocations: 10.53 MB / 0.7535 GB, free: 143.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009291/1.07, allocations: 6.937 MB / 0.7603 GB, free: 137.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/1.07, allocations: 0 / 0.7603 GB, free: 137.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003263/1.073, allocations: 2.857 MB / 0.7631 GB, free: 134.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004564/1.078, allocations: 406.4 kB / 0.7635 GB, free: 134.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07293/1.151, allocations: 55.05 MB / 0.8173 GB, free: 73.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/1.154, allocations: 3.582 MB / 0.8208 GB, free: 69.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004995/1.159, allocations: 2.196 MB / 0.8229 GB, free: 67.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002763/1.162, allocations: 2.069 MB / 0.8249 GB, free: 65.13 MB / 0.545 GB Notification: Performance of SimCode: time 6.321e-06/1.162, allocations: 0 / 0.8249 GB, free: 65.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09287/1.255, allocations: 70.53 MB / 0.8938 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.255, allocations: 219.3 kB / 0.894 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.324/4.579, allocations: 1.203 kB / 0.894 GB, free: 10.65 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/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