Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009441/0.0009438, allocations: 199.2 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 226.5 MB / 243.4 MB, free: 8.082 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009937/0.0009938, allocations: 93.84 kB / 295.5 MB, free: 6.852 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.395/0.395, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2979, allocations: 62.96 MB / 0.516 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.02444/0.3224, allocations: 37.46 MB / 0.5525 GB, free: 10.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.3381, allocations: 8.377 MB / 0.5607 GB, free: 4.516 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006701/0.3449, allocations: 167.1 kB / 0.5609 GB, free: 4.492 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006081/0.351, allocations: 1.869 MB / 0.5627 GB, free: 3.836 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01441/0.3654, allocations: 5.588 MB / 0.5682 GB, free: 1.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.3678, allocations: 0.5052 MB / 0.5687 GB, free: 1.172 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006139/0.374, allocations: 4.551 MB / 0.5731 GB, free: 14.58 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005664/0.3797, allocations: 3.436 MB / 0.5765 GB, free: 11.14 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.3823, allocations: 1.187 MB / 0.5776 GB, free: 9.945 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/0.3855, allocations: 1.888 MB / 0.5795 GB, free: 8.051 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007432/0.3863, allocations: 156 kB / 0.5796 GB, free: 7.898 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.3887, allocations: 0.9008 MB / 0.5805 GB, free: 6.996 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.3905, allocations: 1.683 MB / 0.5821 GB, free: 5.309 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.3929, allocations: 1.974 MB / 0.5841 GB, free: 3.316 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00636/0.3993, allocations: 5.601 MB / 0.5895 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.3993, allocations: 7.984 kB / 0.5895 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3993, allocations: 4 kB / 0.5895 GB, free: 13.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002072/0.3996, allocations: 0 / 0.5895 GB, free: 13.69 MB / 410.7 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.008282/0.4078, allocations: 4.011 MB / 0.5935 GB, free: 9.613 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4079, allocations: 8.031 kB / 0.5935 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001561/0.4095, allocations: 0.8235 MB / 0.5943 GB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.4201, allocations: 3.235 MB / 0.5974 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005302/0.4255, allocations: 2.379 MB / 0.5998 GB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002989/0.4258, allocations: 237.9 kB / 0.6 GB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/0.4273, allocations: 311.7 kB / 0.6003 GB, free: 2.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02356/0.4509, allocations: 12.06 MB / 0.6121 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/0.4511, allocations: 35.64 kB / 0.6121 GB, free: 5.922 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001023/0.4521, allocations: 143.8 kB / 0.6122 GB, free: 5.781 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005129/0.4573, allocations: 2.839 MB / 0.615 GB, free: 2.938 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/0.4796, allocations: 11.32 MB / 0.6261 GB, free: 7.598 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06055/0.5402, allocations: 41.3 MB / 0.6664 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/0.5526, allocations: 6.066 MB / 0.6723 GB, free: 6.992 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004565/0.5572, allocations: 3.002 MB / 0.6752 GB, free: 3.984 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/0.5592, allocations: 1.892 MB / 0.6771 GB, free: 1.762 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.623e-05/0.5593, allocations: 56.5 kB / 0.6772 GB, free: 1.695 MB / 490.7 MB Notification: Performance of pre-optimization done (n=262): time 7.634e-06/0.5593, allocations: 0 / 0.6772 GB, free: 1.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=283): time 0.25/0.8093, allocations: 20.06 MB / 0.6967 GB, free: 124.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.8094, allocations: 75.78 kB / 0.6968 GB, free: 124.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/0.8133, allocations: 3.015 MB / 0.6998 GB, free: 123.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003762/0.8137, allocations: 70.17 kB / 0.6998 GB, free: 123.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/0.8152, allocations: 2.983 MB / 0.7027 GB, free: 121.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001349/0.8166, allocations: 1.019 MB / 0.7037 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/0.8169, allocations: 115.4 kB / 0.7038 GB, free: 120.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000314/0.8172, allocations: 0.5617 MB / 0.7044 GB, free: 120.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003882/0.8211, allocations: 2.822 MB / 0.7071 GB, free: 119.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/0.8263, allocations: 5.999 MB / 0.713 GB, free: 114 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009483/0.8358, allocations: 9.622 MB / 0.7224 GB, free: 107 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/0.8359, allocations: 30.38 kB / 0.7224 GB, free: 107 MB / 490.7 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01698/0.8529, allocations: 9.973 MB / 0.7322 GB, free: 102.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.8532, allocations: 52.22 kB / 0.7322 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002129/0.8534, allocations: 119.8 kB / 0.7323 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/0.8569, allocations: 1.349 MB / 0.7337 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004979/0.8619, allocations: 1.369 MB / 0.735 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008564/0.8705, allocations: 7.473 MB / 0.7423 GB, free: 93.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004795/0.8753, allocations: 371.8 kB / 0.7426 GB, free: 92.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.8764, allocations: 345 kB / 0.743 GB, free: 92.5 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004429/0.8808, allocations: 2.3 MB / 0.7452 GB, free: 90.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008078/0.8817, allocations: 304 kB / 0.7455 GB, free: 89.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.892, allocations: 6.609 MB / 0.752 GB, free: 83.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.418e-05/0.8921, allocations: 53.64 kB / 0.752 GB, free: 83.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/0.8921, allocations: 4.875 kB / 0.752 GB, free: 83.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.868e-05/0.8922, allocations: 15.89 kB / 0.752 GB, free: 83.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02208/0.9142, allocations: 13.99 MB / 0.7657 GB, free: 69.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/0.9143, allocations: 8 kB / 0.7657 GB, free: 69.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/0.9163, allocations: 458 kB / 0.7661 GB, free: 68.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002962/0.9192, allocations: 1.21 MB / 0.7673 GB, free: 67.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003042/0.9196, allocations: 48.86 kB / 0.7674 GB, free: 67.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006707/0.9263, allocations: 6.523 MB / 0.7737 GB, free: 60.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.9263, allocations: 11.94 kB / 0.7738 GB, free: 60.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/0.9387, allocations: 9.817 MB / 0.7833 GB, free: 50.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007315/0.9395, allocations: 357.1 kB / 0.7837 GB, free: 50.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006958/0.9402, allocations: 48.69 kB / 0.7837 GB, free: 50.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/0.9421, allocations: 192.6 kB / 0.7839 GB, free: 50.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004978/0.9426, allocations: 170.2 kB / 0.7841 GB, free: 49.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/0.9428, allocations: 73.02 kB / 0.7841 GB, free: 49.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0024/0.9452, allocations: 1.847 MB / 0.7859 GB, free: 48 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.9452, allocations: 4 kB / 0.7859 GB, free: 48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0042/0.9494, allocations: 1.125 MB / 0.787 GB, free: 46.88 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01187/0.9613, allocations: 10.5 MB / 0.7973 GB, free: 36.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008322/0.9697, allocations: 6.85 MB / 0.804 GB, free: 29.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/0.9697, allocations: 0 / 0.804 GB, free: 29.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003454/0.9732, allocations: 2.851 MB / 0.8068 GB, free: 26.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004878/0.9781, allocations: 411.9 kB / 0.8072 GB, free: 26.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05352/1.032, allocations: 36.81 MB / 0.8431 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004797/1.036, allocations: 3.586 MB / 0.8466 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003502/1.04, allocations: 2.124 MB / 0.8487 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of SimCode: time 8.82e-07/1.04, allocations: 0 / 0.8487 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.015/8.055, allocations: 98.03 MB / 0.9444 GB, free: 123.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches