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.001223/0.001224, allocations: 100.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 196.2 kB / 16.79 MB, free: 6.809 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.282/1.282, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2882/0.2882, allocations: 43.49 MB / 313.5 MB, free: 8.625 MB / 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.001462/0.001462, allocations: 67.89 kB / 382.1 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1133, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2139/0.3272, allocations: 34.75 MB / 474.7 MB, free: 29.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.3418, allocations: 7.889 MB / 482.6 MB, free: 25.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006959/0.3488, allocations: 148.6 kB / 482.7 MB, free: 25.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.3523, allocations: 1.928 MB / 484.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.3555, allocations: 1.54 MB / 486.2 MB, free: 23.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.3566, allocations: 0.5579 MB / 486.7 MB, free: 23.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003595/0.3602, allocations: 4.765 MB / 491.5 MB, free: 22.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002374/0.3626, allocations: 2.537 MB / 494 MB, free: 21.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.3639, allocations: 1.104 MB / 495.1 MB, free: 20.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.3661, allocations: 1.804 MB / 496.9 MB, free: 20.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004626/0.3665, allocations: 176.4 kB / 497.1 MB, free: 20.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.3685, allocations: 1.008 MB / 498.1 MB, free: 20.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.3701, allocations: 1.516 MB / 499.6 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.3719, allocations: 1.773 MB / 0.4897 GB, free: 18.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006339/0.3783, allocations: 5.594 MB / 0.4951 GB, free: 16.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3783, allocations: 0 / 0.4951 GB, free: 16.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3783, allocations: 0 / 0.4951 GB, free: 16.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001706/0.3785, allocations: 0 / 0.4951 GB, free: 16.35 MB / 382.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.007902/0.3864, allocations: 4.042 MB / 0.4991 GB, free: 14.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3864, allocations: 13.25 kB / 0.4991 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008269/0.3873, allocations: 0.6048 MB / 0.4997 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005665/0.3929, allocations: 1.786 MB / 0.5014 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003758/0.3967, allocations: 2.39 MB / 0.5037 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.3969, allocations: 188.9 kB / 0.5039 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004525/0.3973, allocations: 260.8 kB / 0.5042 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.4086, allocations: 8.439 MB / 0.5124 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.116e-05/0.4088, allocations: 35.34 kB / 0.5125 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/0.4091, allocations: 128.5 kB / 0.5126 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002296/0.4114, allocations: 1.699 MB / 0.5142 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.4233, allocations: 7.094 MB / 0.5212 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03759/0.4609, allocations: 34.18 MB / 0.5545 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006908/0.4679, allocations: 3.284 MB / 0.5577 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.4696, allocations: 1.463 MB / 0.5592 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005858/0.4755, allocations: 4.369 MB / 0.5634 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.4755, allocations: 47.06 kB / 0.5635 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.106e-06/0.4755, allocations: 0 / 0.5635 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02762/0.5032, allocations: 11.59 MB / 0.5748 GB, free: 4.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/0.5033, allocations: 166.8 kB / 0.575 GB, free: 4.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004943/0.5082, allocations: 3.746 MB / 0.5786 GB, free: 1.012 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.5085, allocations: 41.7 kB / 0.5787 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001947/0.5104, allocations: 2.756 MB / 0.5814 GB, free: 14.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007395/0.5112, allocations: 0.5209 MB / 0.5819 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/0.5128, allocations: 1.075 MB / 0.5829 GB, free: 12.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5129, allocations: 309.1 kB / 0.5832 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002677/0.5156, allocations: 1.693 MB / 0.5849 GB, free: 10.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005009/0.5207, allocations: 5.115 MB / 0.5899 GB, free: 3.707 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007795/0.5285, allocations: 7.405 MB / 0.5971 GB, free: 10.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.235e-05/0.5286, allocations: 36 kB / 0.5971 GB, free: 10.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01157/0.5401, allocations: 6.691 MB / 0.6037 GB, free: 3.859 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.5403, allocations: 64.34 kB / 0.6037 GB, free: 3.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/0.5405, allocations: 124 kB / 0.6038 GB, free: 3.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/0.5411, allocations: 321.3 kB / 0.6041 GB, free: 3.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003821/0.5449, allocations: 1.24 MB / 0.6054 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.5475, allocations: 2.29 MB / 0.6076 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003985/0.5515, allocations: 303.5 kB / 0.6079 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008747/0.5524, allocations: 328 kB / 0.6082 GB, free: 15.07 MB / 494.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.004361/0.5568, allocations: 1.787 MB / 0.6099 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/0.5579, allocations: 315.9 kB / 0.6102 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005323/0.5632, allocations: 2.359 MB / 0.6125 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.653e-05/0.5633, allocations: 19.94 kB / 0.6126 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.5633, allocations: 4 kB / 0.6126 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.5633, allocations: 3.984 kB / 0.6126 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.5767, allocations: 5.939 MB / 0.6184 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.5767, allocations: 0 / 0.6184 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.5776, allocations: 167.8 kB / 0.6185 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/0.5797, allocations: 0.7186 MB / 0.6192 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.5799, allocations: 23.98 kB / 0.6193 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005554/0.5855, allocations: 4.464 MB / 0.6236 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.5855, allocations: 4.031 kB / 0.6236 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006793/0.5923, allocations: 4.333 MB / 0.6278 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.5936, allocations: 0.5321 MB / 0.6284 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008457/0.5945, allocations: 20 kB / 0.6284 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/0.5962, allocations: 67.91 kB / 0.6284 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.5965, allocations: 68.61 kB / 0.6285 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.5966, allocations: 36 kB / 0.6285 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004853/0.6015, allocations: 2.343 MB / 0.6308 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6015, allocations: 4.062 kB / 0.6308 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005484/0.607, allocations: 0.8203 MB / 0.6316 GB, free: 6.785 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.007743/0.6148, allocations: 4.965 MB / 0.6365 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.1944/0.8092, allocations: 4.009 MB / 0.6404 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.485e-06/0.8093, allocations: 0 / 0.6404 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.8106, allocations: 1.113 MB / 0.6415 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.8132, allocations: 370.7 kB / 0.6418 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0646/0.8778, allocations: 43.87 MB / 0.6847 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004583/0.8824, allocations: 2.8 MB / 0.6874 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005223/0.8877, allocations: 1.653 MB / 0.689 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002987/0.8907, allocations: 1.526 MB / 0.6905 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/0.8907, allocations: 0 / 0.6905 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08228/0.973, allocations: 60.06 MB / 0.7492 GB, free: 79.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.9732, allocations: 227.8 kB / 0.7494 GB, free: 79.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.275/4.248, allocations: 0 / 0.7494 GB, free: 79.01 MB / 0.4981 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches