Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001167, allocations: 102.7 kB / 16.4 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 189.5 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2223/0.2223, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1446, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02105/0.1657, allocations: 18.62 MB / 0.5056 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.1822, allocations: 5.339 MB / 0.5108 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004865/0.1871, allocations: 111.7 kB / 0.5109 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007001/0.1941, allocations: 3.079 MB / 0.5139 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007695/0.202, allocations: 2.622 MB / 0.5165 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.2049, allocations: 1.026 MB / 0.5175 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01425/0.2192, allocations: 7.406 MB / 0.5247 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007895/0.2271, allocations: 4.254 MB / 0.5289 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3046/0.5317, allocations: 2.302 MB / 0.5311 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006091/0.5379, allocations: 3.278 MB / 0.5343 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.5395, allocations: 456.5 kB / 0.5348 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.5426, allocations: 1.305 MB / 0.536 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003317/0.546, allocations: 2.893 MB / 0.5389 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005826/0.5518, allocations: 3.305 MB / 0.5421 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.5673, allocations: 10.27 MB / 0.5521 GB, free: 5.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.5674, allocations: 1.031 kB / 0.5521 GB, free: 5.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5674, allocations: 0 / 0.5521 GB, free: 5.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003991/0.5678, allocations: 0 / 0.5521 GB, free: 5.719 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.0225/0.5903, allocations: 7.472 MB / 0.5594 GB, free: 2.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.5904, allocations: 13.33 kB / 0.5594 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00301/0.5934, allocations: 1.03 MB / 0.5604 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03012/0.6235, allocations: 5.61 MB / 0.5659 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/0.6383, allocations: 5.922 MB / 0.5717 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/0.6386, allocations: 326.3 kB / 0.572 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002814/0.6414, allocations: 442.5 kB / 0.5724 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03459/0.676, allocations: 15.74 MB / 0.5878 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003803/0.6764, allocations: 56.25 kB / 0.5878 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002171/0.6786, allocations: 201 kB / 0.588 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007233/0.6859, allocations: 3.475 MB / 0.5914 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03754/0.7234, allocations: 14.79 MB / 0.6059 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1114/0.8349, allocations: 55.63 MB / 0.6602 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02158/0.8565, allocations: 8.144 MB / 0.6682 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008542/0.8651, allocations: 4.776 MB / 0.6728 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002602/0.8677, allocations: 2.21 MB / 0.675 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.735e-05/0.8678, allocations: 65.08 kB / 0.675 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=367): time 9.088e-06/0.8678, allocations: 0 / 0.675 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of matching and sorting (n=419): time 0.1289/0.9968, allocations: 39.8 MB / 0.7139 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.9969, allocations: 119.8 kB / 0.714 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.007, allocations: 4.409 MB / 0.7183 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001285/1.008, allocations: 81.7 kB / 0.7184 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003491/1.012, allocations: 3.901 MB / 0.7222 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002713/1.015, allocations: 1.484 MB / 0.7237 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005947/1.021, allocations: 1.531 MB / 0.7252 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.021, allocations: 305.1 kB / 0.7255 GB, free: 272 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008053/1.029, allocations: 3.962 MB / 0.7293 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01282/1.042, allocations: 7.757 MB / 0.7369 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02106/1.063, allocations: 12.74 MB / 0.7493 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001739/1.063, allocations: 40 kB / 0.7494 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.3326/1.396, allocations: 14.24 MB / 0.7633 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/1.396, allocations: 61.03 kB / 0.7633 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002799/1.396, allocations: 130.2 kB / 0.7635 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009822/1.406, allocations: 2.673 MB / 0.7661 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007967/1.414, allocations: 1.78 MB / 0.7678 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/1.432, allocations: 15.23 MB / 0.7827 GB, free: 196 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008441/1.44, allocations: 0.4906 MB / 0.7832 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/1.442, allocations: 426.6 kB / 0.7836 GB, free: 195.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (920): * Single equations (assignments): 912 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007928/1.45, allocations: 2.919 MB / 0.7864 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.451, allocations: 469.8 kB / 0.7869 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/1.468, allocations: 10.57 MB / 0.7972 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.302e-05/1.468, allocations: 65.09 kB / 0.7972 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/1.468, allocations: 11.94 kB / 0.7973 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-05/1.468, allocations: 16.83 kB / 0.7973 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04012/1.508, allocations: 21.31 MB / 0.8181 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.651e-05/1.508, allocations: 15.62 kB / 0.8181 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00346/1.512, allocations: 0.6786 MB / 0.8188 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006641/1.518, allocations: 2.496 MB / 0.8212 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007542/1.519, allocations: 80.92 kB / 0.8213 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/1.534, allocations: 13.81 MB / 0.8348 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/1.534, allocations: 20.97 kB / 0.8348 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02134/1.555, allocations: 15.12 MB / 0.8495 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004326/1.559, allocations: 1.167 MB / 0.8507 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/1.561, allocations: 79.98 kB / 0.8508 GB, free: 135.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/1.564, allocations: 301.4 kB / 0.8511 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007456/1.564, allocations: 269.9 kB / 0.8513 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000301/1.565, allocations: 113.5 kB / 0.8514 GB, free: 134.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003988/1.569, allocations: 2.775 MB / 0.8541 GB, free: 132 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.569, allocations: 1.312 kB / 0.8541 GB, free: 132 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007217/1.576, allocations: 1.654 MB / 0.8557 GB, free: 130.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * 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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02019/1.596, allocations: 15.82 MB / 0.8712 GB, free: 114.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01387/1.61, allocations: 9.892 MB / 0.8809 GB, free: 104.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/1.61, allocations: 4 kB / 0.8809 GB, free: 104.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005442/1.616, allocations: 4.3 MB / 0.8851 GB, free: 100.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/1.62, allocations: 0.7368 MB / 0.8858 GB, free: 99.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1174/1.737, allocations: 70.93 MB / 0.955 GB, free: 22.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007284/1.745, allocations: 4.62 MB / 0.9596 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006568/1.751, allocations: 2.732 MB / 0.9622 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004568/1.756, allocations: 2.909 MB / 0.9651 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/1.756, allocations: 4 kB / 0.9651 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4474/2.203, allocations: 116 MB / 1.078 GB, free: 123.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.2/23.41, allocations: 19.72 kB / 1.078 GB, free: 123.7 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches