Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.001335/0.001335, allocations: 110.8 kB / 16.41 MB, free: 6.453 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.001413/0.001413, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.434/1.434, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2109/0.2109, allocations: 43.52 MB / 314.1 MB, free: 476 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.002041/0.002041, allocations: 75.89 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1206, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01309/0.1338, allocations: 10.28 MB / 0.4974 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008215/0.142, allocations: 3.787 MB / 0.5011 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.1439, allocations: 55.81 kB / 0.5012 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003884/0.1478, allocations: 1.935 MB / 0.5031 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004191/0.1521, allocations: 1.665 MB / 0.5047 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.1535, allocations: 0.616 MB / 0.5053 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004502/0.158, allocations: 3.349 MB / 0.5086 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/0.161, allocations: 2.587 MB / 0.5111 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.1628, allocations: 1.253 MB / 0.5123 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/0.165, allocations: 1.678 MB / 0.514 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005028/0.1656, allocations: 252 kB / 0.5142 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.1675, allocations: 1.022 MB / 0.5152 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.169, allocations: 1.562 MB / 0.5167 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.1709, allocations: 1.844 MB / 0.5185 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006692/0.1776, allocations: 5.871 MB / 0.5243 GB, free: 6.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1777, allocations: 0 / 0.5243 GB, free: 6.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1777, allocations: 0 / 0.5243 GB, free: 6.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001259/0.1778, allocations: 0 / 0.5243 GB, free: 6.352 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.007416/0.1852, allocations: 4.16 MB / 0.5283 GB, free: 2.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1853, allocations: 11.89 kB / 0.5283 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007468/0.186, allocations: 0.6082 MB / 0.5289 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2028/0.3889, allocations: 1.801 MB / 0.5307 GB, free: 36.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.3932, allocations: 2.429 MB / 0.5331 GB, free: 36.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.3934, allocations: 190 kB / 0.5333 GB, free: 36.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005183/0.3939, allocations: 256.3 kB / 0.5335 GB, free: 36.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/0.407, allocations: 8.441 MB / 0.5417 GB, free: 33.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.4072, allocations: 41.06 kB / 0.5418 GB, free: 33.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003679/0.4076, allocations: 122.6 kB / 0.5419 GB, free: 33.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002874/0.4104, allocations: 1.698 MB / 0.5436 GB, free: 32.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/0.4245, allocations: 7.101 MB / 0.5505 GB, free: 30.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03125/0.4558, allocations: 34.09 MB / 0.5838 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007516/0.4634, allocations: 3.283 MB / 0.587 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/0.4654, allocations: 1.471 MB / 0.5884 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006413/0.4718, allocations: 4.376 MB / 0.5927 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.4719, allocations: 47.06 kB / 0.5927 GB, free: 6.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.747e-06/0.4719, allocations: 0 / 0.5927 GB, free: 6.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02977/0.5017, allocations: 11.77 MB / 0.6042 GB, free: 10.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.5018, allocations: 174.9 kB / 0.6044 GB, free: 10.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005431/0.5073, allocations: 3.751 MB / 0.6081 GB, free: 6.914 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002651/0.5076, allocations: 49.45 kB / 0.6081 GB, free: 6.863 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002363/0.51, allocations: 2.866 MB / 0.6109 GB, free: 3.969 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007981/0.5108, allocations: 0.5428 MB / 0.6114 GB, free: 3.422 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/0.5123, allocations: 1.08 MB / 0.6125 GB, free: 2.332 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5125, allocations: 301.1 kB / 0.6128 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002572/0.515, allocations: 1.697 MB / 0.6144 GB, free: 340 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005555/0.5206, allocations: 5.115 MB / 0.6194 GB, free: 9.488 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009076/0.5297, allocations: 7.411 MB / 0.6267 GB, free: 384 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.911e-05/0.5298, allocations: 43.88 kB / 0.6267 GB, free: 340 kB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01147/0.5413, allocations: 6.705 MB / 0.6333 GB, free: 9.613 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.121e-05/0.5414, allocations: 56 kB / 0.6333 GB, free: 9.559 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/0.5416, allocations: 126.6 kB / 0.6334 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000666/0.5423, allocations: 325.2 kB / 0.6338 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003746/0.546, allocations: 1.24 MB / 0.635 GB, free: 7.875 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.5489, allocations: 2.493 MB / 0.6374 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/0.5526, allocations: 299.5 kB / 0.6377 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006779/0.5533, allocations: 332 kB / 0.638 GB, free: 4.625 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * 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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002911/0.5562, allocations: 1.788 MB / 0.6397 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006301/0.5569, allocations: 325.8 kB / 0.6401 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/0.5618, allocations: 2.367 MB / 0.6424 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/0.5618, allocations: 19.94 kB / 0.6424 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5619, allocations: 4 kB / 0.6424 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.5619, allocations: 3.984 kB / 0.6424 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.5737, allocations: 5.93 MB / 0.6482 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.5738, allocations: 0 / 0.6482 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.5746, allocations: 175.7 kB / 0.6484 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/0.5769, allocations: 0.7108 MB / 0.649 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.5771, allocations: 27.98 kB / 0.6491 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006607/0.5837, allocations: 4.817 MB / 0.6538 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5837, allocations: 0 / 0.6538 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007399/0.5911, allocations: 4.343 MB / 0.658 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/0.5925, allocations: 0.5456 MB / 0.6586 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003736/0.5929, allocations: 16 kB / 0.6586 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.594, allocations: 71.91 kB / 0.6586 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.5942, allocations: 72.56 kB / 0.6587 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.805e-05/0.5943, allocations: 36 kB / 0.6587 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003801/0.5981, allocations: 2.339 MB / 0.661 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5982, allocations: 0 / 0.661 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004585/0.6028, allocations: 0.8221 MB / 0.6618 GB, free: 11.95 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008016/0.6108, allocations: 4.975 MB / 0.6667 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007211/0.6181, allocations: 4.03 MB / 0.6706 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/0.6181, allocations: 4 kB / 0.6706 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.62, allocations: 1.111 MB / 0.6717 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.6226, allocations: 397 kB / 0.6721 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06199/0.6846, allocations: 37.83 MB / 0.709 GB, free: 6.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003412/0.688, allocations: 2.782 MB / 0.7117 GB, free: 3.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003727/0.6918, allocations: 1.658 MB / 0.7134 GB, free: 1.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/0.694, allocations: 1.53 MB / 0.7149 GB, free: 388 kB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.694, allocations: 0 / 0.7149 GB, free: 388 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3535/1.047, allocations: 57.79 MB / 0.7713 GB, free: 189.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.38/25.42, allocations: 11.88 kB / 0.7713 GB, free: 189.4 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches