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.001414/0.001414, allocations: 103.8 kB / 15.98 MB, free: 6.348 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.00158/0.00158, allocations: 189.6 kB / 16.91 MB, free: 6.191 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.442/1.442, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.3171/0.3171, allocations: 43.5 MB / 313.6 MB, free: 8.293 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.001595/0.001595, allocations: 59.91 kB / 382.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1024, allocations: 57.78 MB / 440.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1995/0.302, allocations: 34.75 MB / 474.8 MB, free: 29.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.3168, allocations: 7.794 MB / 482.6 MB, free: 25.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005827/0.3227, allocations: 146.4 kB / 482.8 MB, free: 25.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003531/0.3263, allocations: 1.867 MB / 484.6 MB, free: 24.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003576/0.3299, allocations: 1.545 MB / 486.2 MB, free: 23.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.3311, allocations: 0.5717 MB / 486.8 MB, free: 23.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003374/0.3345, allocations: 3.372 MB / 490.1 MB, free: 22.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/0.3373, allocations: 2.721 MB / 492.9 MB, free: 21.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.3395, allocations: 1.281 MB / 494.1 MB, free: 20.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.342, allocations: 1.879 MB / 496 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007961/0.3428, allocations: 254.8 kB / 496.3 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.3449, allocations: 1.037 MB / 497.3 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002031/0.347, allocations: 1.59 MB / 498.9 MB, free: 19.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00396/0.3509, allocations: 1.862 MB / 0.489 GB, free: 17.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.3614, allocations: 5.688 MB / 0.4946 GB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.3614, allocations: 0 / 0.4946 GB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3615, allocations: 0 / 0.4946 GB, free: 15.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003435/0.3618, allocations: 0.8438 kB / 0.4946 GB, free: 15.79 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.01424/0.3761, allocations: 4.051 MB / 0.4985 GB, free: 13.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.3761, allocations: 14.17 kB / 0.4985 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00227/0.3784, allocations: 0.608 MB / 0.4991 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007541/0.386, allocations: 1.783 MB / 0.5009 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005947/0.392, allocations: 2.387 MB / 0.5032 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.3922, allocations: 192.6 kB / 0.5034 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/0.3935, allocations: 257 kB / 0.5036 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0155/0.409, allocations: 8.443 MB / 0.5119 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001927/0.4093, allocations: 44.17 kB / 0.5119 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/0.4104, allocations: 121.7 kB / 0.512 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003004/0.4135, allocations: 1.695 MB / 0.5137 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/0.4279, allocations: 7.098 MB / 0.5206 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04157/0.4695, allocations: 34.18 MB / 0.554 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007324/0.4769, allocations: 3.279 MB / 0.5572 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.479, allocations: 1.462 MB / 0.5586 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007487/0.4865, allocations: 4.377 MB / 0.5629 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.4866, allocations: 47.06 kB / 0.563 GB, free: 1.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.248e-06/0.4866, allocations: 0 / 0.563 GB, free: 1.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03148/0.5181, allocations: 11.57 MB / 0.5743 GB, free: 5.465 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.5182, allocations: 174.8 kB / 0.5744 GB, free: 5.258 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007076/0.5253, allocations: 3.742 MB / 0.5781 GB, free: 1.523 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003613/0.5257, allocations: 41.7 kB / 0.5781 GB, free: 1.477 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002405/0.5281, allocations: 2.756 MB / 0.5808 GB, free: 14.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009654/0.5291, allocations: 0.517 MB / 0.5813 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002714/0.5318, allocations: 1.079 MB / 0.5824 GB, free: 13.06 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.532, allocations: 309.1 kB / 0.5827 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/0.5348, allocations: 1.693 MB / 0.5843 GB, free: 11.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005321/0.5401, allocations: 5.115 MB / 0.5893 GB, free: 4.215 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007908/0.5481, allocations: 7.408 MB / 0.5965 GB, free: 11.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.851e-05/0.5482, allocations: 40 kB / 0.5966 GB, free: 11.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01312/0.5613, allocations: 6.691 MB / 0.6031 GB, free: 4.359 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/0.5614, allocations: 63.94 kB / 0.6032 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/0.5615, allocations: 120 kB / 0.6033 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/0.5622, allocations: 321.3 kB / 0.6036 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004035/0.5662, allocations: 1.24 MB / 0.6048 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.5686, allocations: 2.498 MB / 0.6073 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003822/0.5725, allocations: 287.5 kB / 0.6075 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006246/0.5731, allocations: 336 kB / 0.6078 GB, free: 15.38 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.002846/0.576, allocations: 1.788 MB / 0.6096 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000578/0.5766, allocations: 311.9 kB / 0.6099 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00444/0.581, allocations: 2.367 MB / 0.6122 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/0.5811, allocations: 16 kB / 0.6122 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.5811, allocations: 4.125 kB / 0.6122 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.5811, allocations: 15.86 kB / 0.6122 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.5922, allocations: 5.931 MB / 0.618 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.5922, allocations: 0 / 0.618 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008146/0.5931, allocations: 183.8 kB / 0.6182 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/0.5951, allocations: 0.7201 MB / 0.6189 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.5953, allocations: 23.98 kB / 0.6189 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005459/0.6007, allocations: 4.811 MB / 0.6236 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6007, allocations: 0 / 0.6236 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006252/0.607, allocations: 4.326 MB / 0.6279 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.6082, allocations: 0.5281 MB / 0.6284 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003885/0.6086, allocations: 16 kB / 0.6284 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.6097, allocations: 71.84 kB / 0.6285 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.6099, allocations: 68.62 kB / 0.6285 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.832e-05/0.61, allocations: 36 kB / 0.6286 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00371/0.6137, allocations: 2.343 MB / 0.6308 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6138, allocations: 0 / 0.6308 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004675/0.6184, allocations: 0.8125 MB / 0.6316 GB, free: 6.742 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.006803/0.6253, allocations: 4.977 MB / 0.6365 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.1684/0.7937, allocations: 4.396 MB / 0.6408 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.7938, allocations: 3.031 kB / 0.6408 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.7951, allocations: 1.107 MB / 0.6419 GB, free: 163.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.7974, allocations: 394 kB / 0.6422 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04679/0.8442, allocations: 43.87 MB / 0.6851 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002709/0.8469, allocations: 2.794 MB / 0.6878 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004406/0.8513, allocations: 1.653 MB / 0.6894 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002816/0.8542, allocations: 1.533 MB / 0.6909 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/0.8542, allocations: 0 / 0.6909 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1865/1.041, allocations: 61.23 MB / 0.7507 GB, free: 77.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/1.041, allocations: 232.1 kB / 0.7509 GB, free: 77.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.745/4.786, allocations: 3.938 kB / 0.7509 GB, free: 77.4 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