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.001374/0.001374, allocations: 105.6 kB / 17.21 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001644, allocations: 205.8 kB / 18.14 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.3 MB, free: 9.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2598/0.2598, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 73.2 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1569, allocations: 62.45 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.317/0.474, allocations: 41.13 MB / 0.5083 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02352/0.4975, allocations: 8.743 MB / 0.5169 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01085/0.5084, allocations: 173 kB / 0.517 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004588/0.513, allocations: 1.934 MB / 0.5189 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006052/0.5192, allocations: 1.761 MB / 0.5206 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.521, allocations: 0.517 MB / 0.5211 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007887/0.5289, allocations: 5.693 MB / 0.5267 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004163/0.5331, allocations: 2.794 MB / 0.5294 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/0.5356, allocations: 1.254 MB / 0.5306 GB, free: 4.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003294/0.5389, allocations: 2.113 MB / 0.5327 GB, free: 3.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008053/0.5397, allocations: 217.4 kB / 0.5329 GB, free: 3.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.5421, allocations: 0.9753 MB / 0.5339 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.5437, allocations: 1.782 MB / 0.5356 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002457/0.5462, allocations: 2.163 MB / 0.5377 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008202/0.5544, allocations: 6.899 MB / 0.5445 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.5545, allocations: 0 / 0.5445 GB, free: 12.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5545, allocations: 4 kB / 0.5445 GB, free: 12.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002883/0.5548, allocations: 3.938 kB / 0.5445 GB, free: 12.32 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.01109/0.5659, allocations: 4.893 MB / 0.5492 GB, free: 7.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.5659, allocations: 12.88 kB / 0.5493 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001121/0.5671, allocations: 0.8172 MB / 0.5501 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.5775, allocations: 3.144 MB / 0.5531 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006377/0.5839, allocations: 2.369 MB / 0.5554 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.5842, allocations: 240.1 kB / 0.5557 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.5854, allocations: 321.2 kB / 0.556 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/0.6079, allocations: 12.08 MB / 0.5678 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/0.6081, allocations: 35.66 kB / 0.5678 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001349/0.6095, allocations: 141.8 kB / 0.5679 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005149/0.6146, allocations: 2.838 MB / 0.5707 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02296/0.6376, allocations: 11.35 MB / 0.5818 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06201/0.6997, allocations: 41.29 MB / 0.6221 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/0.7125, allocations: 6.073 MB / 0.6281 GB, free: 5.684 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004165/0.7167, allocations: 3.015 MB / 0.631 GB, free: 2.664 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/0.7184, allocations: 1.882 MB / 0.6328 GB, free: 476 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.7185, allocations: 56.56 kB / 0.6329 GB, free: 408 kB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 6.202e-06/0.7185, allocations: 0 / 0.6329 GB, free: 408 kB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05649/0.775, allocations: 20.13 MB / 0.6525 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.7751, allocations: 81.34 kB / 0.6526 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007157/0.7823, allocations: 3.027 MB / 0.6556 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007062/0.783, allocations: 65.7 kB / 0.6556 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003588/0.7866, allocations: 2.988 MB / 0.6586 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001985/0.7887, allocations: 1.014 MB / 0.6596 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004304/0.793, allocations: 1.193 MB / 0.6607 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.7932, allocations: 305.1 kB / 0.661 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006188/0.7994, allocations: 2.846 MB / 0.6638 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009683/0.8091, allocations: 6.014 MB / 0.6697 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.014/0.8231, allocations: 9.657 MB / 0.6791 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001921/0.8233, allocations: 39.88 kB / 0.6791 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02151/0.8449, allocations: 10.02 MB / 0.6889 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.845, allocations: 55.94 kB / 0.689 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001853/0.8452, allocations: 108 kB / 0.6891 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003695/0.8489, allocations: 1.366 MB / 0.6904 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004727/0.8537, allocations: 1.365 MB / 0.6917 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.8639, allocations: 7.298 MB / 0.6989 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/0.8686, allocations: 367.6 kB / 0.6992 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/0.8698, allocations: 348 kB / 0.6995 GB, free: 8.688 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.005481/0.8753, allocations: 2.297 MB / 0.7018 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008383/0.8762, allocations: 304.1 kB / 0.7021 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2571/1.133, allocations: 6.617 MB / 0.7085 GB, free: 192.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001334/1.133, allocations: 49.05 kB / 0.7086 GB, free: 192.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-05/1.133, allocations: 4.938 kB / 0.7086 GB, free: 192.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.075e-05/1.134, allocations: 11.2 kB / 0.7086 GB, free: 192.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02998/1.164, allocations: 14.02 MB / 0.7223 GB, free: 188.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/1.164, allocations: 6.812 kB / 0.7223 GB, free: 188.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/1.166, allocations: 453.6 kB / 0.7227 GB, free: 188.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003274/1.169, allocations: 1.211 MB / 0.7239 GB, free: 188.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004149/1.17, allocations: 48.38 kB / 0.724 GB, free: 188.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007863/1.177, allocations: 6.522 MB / 0.7303 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/1.177, allocations: 14.53 kB / 0.7303 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/1.191, allocations: 9.848 MB / 0.74 GB, free: 181.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009104/1.192, allocations: 354.1 kB / 0.7403 GB, free: 181.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005096/1.192, allocations: 51.66 kB / 0.7403 GB, free: 181.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.194, allocations: 198.2 kB / 0.7405 GB, free: 181.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004845/1.194, allocations: 164.2 kB / 0.7407 GB, free: 181.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.194, allocations: 72.22 kB / 0.7408 GB, free: 181.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002586/1.197, allocations: 1.874 MB / 0.7426 GB, free: 180.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.197, allocations: 1.938 kB / 0.7426 GB, free: 180.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004505/1.202, allocations: 1.105 MB / 0.7437 GB, free: 180.4 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.01273/1.214, allocations: 10.53 MB / 0.754 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009286/1.224, allocations: 6.933 MB / 0.7607 GB, free: 166.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/1.224, allocations: 0 / 0.7607 GB, free: 166.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00357/1.227, allocations: 2.854 MB / 0.7635 GB, free: 163.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/1.23, allocations: 412.8 kB / 0.7639 GB, free: 163.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06956/1.299, allocations: 54.98 MB / 0.8176 GB, free: 102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/1.303, allocations: 3.57 MB / 0.8211 GB, free: 98.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004529/1.307, allocations: 2.203 MB / 0.8232 GB, free: 96.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002442/1.31, allocations: 2.065 MB / 0.8253 GB, free: 94.09 MB / 0.545 GB Notification: Performance of SimCode: time 8.51e-07/1.31, allocations: 0 / 0.8253 GB, free: 94.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09144/1.401, allocations: 71.59 MB / 0.8952 GB, free: 22.74 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/1.402, allocations: 217.6 kB / 0.8954 GB, free: 22.49 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/5, allocations: 0 / 0.8954 GB, free: 22.49 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 & /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