Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_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.001123/0.001123, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001163/0.001163, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2162/0.2162, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 63.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.393, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01222/0.4052, allocations: 10.27 MB / 0.5285 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009102/0.4144, allocations: 3.781 MB / 0.5321 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.4167, allocations: 59.19 kB / 0.5322 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004166/0.421, allocations: 1.946 MB / 0.5341 GB, free: 7.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005202/0.4262, allocations: 1.656 MB / 0.5357 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.4281, allocations: 0.6147 MB / 0.5363 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005794/0.4339, allocations: 3.329 MB / 0.5396 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003962/0.4379, allocations: 2.586 MB / 0.5421 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.4409, allocations: 1.248 MB / 0.5433 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003161/0.4441, allocations: 1.667 MB / 0.5449 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008597/0.445, allocations: 256 kB / 0.5452 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.4475, allocations: 1.045 MB / 0.5462 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001884/0.4494, allocations: 1.57 MB / 0.5477 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002577/0.452, allocations: 1.837 MB / 0.5495 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007257/0.4593, allocations: 5.835 MB / 0.5552 GB, free: 6.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.4594, allocations: 0 / 0.5552 GB, free: 6.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4594, allocations: 0 / 0.5552 GB, free: 6.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001501/0.4595, allocations: 4 kB / 0.5552 GB, free: 6.273 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.007643/0.4672, allocations: 4.034 MB / 0.5592 GB, free: 2.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4673, allocations: 12.03 kB / 0.5592 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007397/0.468, allocations: 0.6043 MB / 0.5598 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006149/0.4742, allocations: 1.782 MB / 0.5615 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004341/0.4785, allocations: 2.26 MB / 0.5637 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.4787, allocations: 197 kB / 0.5639 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004732/0.4792, allocations: 251.8 kB / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/0.4929, allocations: 8.44 MB / 0.5724 GB, free: 3.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.4931, allocations: 39.59 kB / 0.5724 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.4934, allocations: 123.9 kB / 0.5725 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002725/0.4962, allocations: 1.703 MB / 0.5742 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.5101, allocations: 7.094 MB / 0.5811 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04488/0.555, allocations: 34.02 MB / 0.6144 GB, free: 7.906 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007701/0.5627, allocations: 3.279 MB / 0.6176 GB, free: 4.473 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/0.5649, allocations: 1.457 MB / 0.619 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007724/0.5726, allocations: 4.357 MB / 0.6232 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.5727, allocations: 51.06 kB / 0.6233 GB, free: 14.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 3.977e-06/0.5727, allocations: 4 kB / 0.6233 GB, free: 14.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.03093/0.6036, allocations: 11.52 MB / 0.6345 GB, free: 2.699 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.6038, allocations: 174.8 kB / 0.6347 GB, free: 2.492 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006851/0.6106, allocations: 3.722 MB / 0.6383 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003397/0.611, allocations: 49.7 kB / 0.6384 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00232/0.6134, allocations: 2.748 MB / 0.6411 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007525/0.6141, allocations: 0.5248 MB / 0.6416 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002355/0.6165, allocations: 1.075 MB / 0.6426 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6166, allocations: 309 kB / 0.6429 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002761/0.6194, allocations: 1.693 MB / 0.6446 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005684/0.6251, allocations: 5.123 MB / 0.6496 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008693/0.6338, allocations: 7.395 MB / 0.6568 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/0.634, allocations: 36 kB / 0.6568 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01226/0.6463, allocations: 6.695 MB / 0.6634 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.6464, allocations: 67.88 kB / 0.6634 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001927/0.6466, allocations: 124 kB / 0.6636 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006999/0.6473, allocations: 320.7 kB / 0.6639 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/0.6513, allocations: 1.236 MB / 0.6651 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.6541, allocations: 2.496 MB / 0.6675 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/0.6578, allocations: 279.5 kB / 0.6678 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000741/0.6585, allocations: 336 kB / 0.6681 GB, free: 12.64 MB / 0.5294 GB 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.003307/0.6619, allocations: 1.791 MB / 0.6699 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008008/0.6627, allocations: 312 kB / 0.6702 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00515/0.6678, allocations: 2.363 MB / 0.6725 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/0.6679, allocations: 23.97 kB / 0.6725 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.6679, allocations: 4 kB / 0.6725 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.6679, allocations: 3.984 kB / 0.6725 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.6819, allocations: 5.906 MB / 0.6783 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/0.682, allocations: 7.922 kB / 0.6783 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/0.6829, allocations: 171.7 kB / 0.6784 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002241/0.6851, allocations: 0.7147 MB / 0.6791 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/0.6853, allocations: 28.58 kB / 0.6792 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006327/0.6916, allocations: 4.821 MB / 0.6839 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6917, allocations: 0 / 0.6839 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006866/0.6985, allocations: 4.325 MB / 0.6881 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.6996, allocations: 364.9 kB / 0.6884 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006089/0.7002, allocations: 19.94 kB / 0.6885 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.7016, allocations: 75.83 kB / 0.6885 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.7019, allocations: 72.5 kB / 0.6886 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.702, allocations: 35.98 kB / 0.6886 GB, free: 7.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004325/0.7063, allocations: 2.327 MB / 0.6909 GB, free: 5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7063, allocations: 4.062 kB / 0.6909 GB, free: 4.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004322/0.7107, allocations: 0.8164 MB / 0.6917 GB, free: 4.18 MB / 0.545 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.007486/0.7182, allocations: 4.954 MB / 0.6965 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006463/0.7247, allocations: 4.041 MB / 0.7005 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.7247, allocations: 0 / 0.7005 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.7263, allocations: 1.107 MB / 0.7016 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/0.7291, allocations: 389 kB / 0.7019 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3144/1.044, allocations: 37.56 MB / 0.7386 GB, free: 177 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00272/1.046, allocations: 2.788 MB / 0.7413 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00384/1.05, allocations: 1.658 MB / 0.743 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001856/1.052, allocations: 1.525 MB / 0.7444 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.343e-06/1.052, allocations: 0 / 0.7444 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09388/1.146, allocations: 58.59 MB / 0.8017 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.57/24.72, allocations: 10.19 kB / 0.8017 GB, free: 123.6 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches