Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009696/0.0009693, allocations: 98.45 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 203.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1837/0.1837, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002422, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.02969/0.1435, allocations: 33.51 MB / 0.5046 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2492/0.3927, allocations: 7.753 MB / 0.5121 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005071/0.3978, allocations: 147.2 kB / 0.5123 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.3989, allocations: 370.4 kB / 0.5126 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003917/0.4028, allocations: 1.536 MB / 0.5141 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.4042, allocations: 0.5665 MB / 0.5147 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006315/0.4105, allocations: 4.756 MB / 0.5193 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004755/0.4153, allocations: 3.273 MB / 0.5225 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.4171, allocations: 0.9427 MB / 0.5235 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.4193, allocations: 1.609 MB / 0.525 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003429/0.4196, allocations: 113.4 kB / 0.5251 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.4214, allocations: 0.9377 MB / 0.526 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.4227, allocations: 1.412 MB / 0.5274 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.424, allocations: 1.671 MB / 0.5291 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.4289, allocations: 5.381 MB / 0.5343 GB, free: 2.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4289, allocations: 2.406 kB / 0.5343 GB, free: 2.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4289, allocations: 4 kB / 0.5343 GB, free: 2.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001247/0.4291, allocations: 0 / 0.5343 GB, free: 2.797 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.005708/0.4348, allocations: 3.298 MB / 0.5375 GB, free: 452 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4348, allocations: 10.34 kB / 0.5375 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006748/0.4355, allocations: 0.6043 MB / 0.5381 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006292/0.4418, allocations: 1.834 MB / 0.5399 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/0.4453, allocations: 2.117 MB / 0.542 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.4454, allocations: 189.9 kB / 0.5422 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/0.4458, allocations: 259.7 kB / 0.5424 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.4599, allocations: 8.465 MB / 0.5507 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.42e-05/0.46, allocations: 39.59 kB / 0.5507 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003331/0.4603, allocations: 128.7 kB / 0.5509 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002792/0.4631, allocations: 1.694 MB / 0.5525 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/0.4764, allocations: 7.129 MB / 0.5595 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04494/0.5214, allocations: 34.14 MB / 0.5928 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008388/0.5298, allocations: 3.294 MB / 0.596 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.5321, allocations: 1.468 MB / 0.5975 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007583/0.5397, allocations: 4.444 MB / 0.6018 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.5398, allocations: 51.06 kB / 0.6019 GB, free: 15.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 4.078e-06/0.5398, allocations: 0 / 0.6019 GB, free: 15.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.0303/0.5701, allocations: 11.55 MB / 0.6131 GB, free: 4.156 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/0.5702, allocations: 166.9 kB / 0.6133 GB, free: 3.957 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007347/0.5776, allocations: 3.725 MB / 0.6169 GB, free: 244 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002935/0.5779, allocations: 45.7 kB / 0.617 GB, free: 192 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002311/0.5802, allocations: 2.741 MB / 0.6197 GB, free: 13.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007313/0.581, allocations: 0.5225 MB / 0.6202 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.582, allocations: 461.6 kB / 0.6206 GB, free: 12.47 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5822, allocations: 305.1 kB / 0.6209 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003761/0.5859, allocations: 1.701 MB / 0.6226 GB, free: 10.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006555/0.5925, allocations: 5.139 MB / 0.6276 GB, free: 3.598 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009091/0.6016, allocations: 7.401 MB / 0.6348 GB, free: 10.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/0.6018, allocations: 36 kB / 0.6348 GB, free: 10.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01359/0.6154, allocations: 6.71 MB / 0.6414 GB, free: 3.738 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.6155, allocations: 60.19 kB / 0.6414 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002129/0.6158, allocations: 123.9 kB / 0.6416 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007443/0.6165, allocations: 332.6 kB / 0.6419 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004321/0.6209, allocations: 1.236 MB / 0.6431 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.6237, allocations: 2.287 MB / 0.6453 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004022/0.6278, allocations: 295.5 kB / 0.6456 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009319/0.6287, allocations: 339.7 kB / 0.6459 GB, free: 14.95 MB / 0.4981 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.004062/0.6328, allocations: 1.795 MB / 0.6477 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007361/0.6335, allocations: 308 kB / 0.648 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00556/0.6391, allocations: 2.37 MB / 0.6503 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.19e-05/0.6392, allocations: 16 kB / 0.6503 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/0.6392, allocations: 7.938 kB / 0.6503 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.254e-05/0.6392, allocations: 7.969 kB / 0.6503 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/0.6526, allocations: 5.939 MB / 0.6561 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.6527, allocations: 4 kB / 0.6561 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008526/0.6536, allocations: 171.8 kB / 0.6563 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/0.6558, allocations: 0.7147 MB / 0.657 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/0.6559, allocations: 24.12 kB / 0.657 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005793/0.6617, allocations: 4.468 MB / 0.6614 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6618, allocations: 0 / 0.6614 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006882/0.6686, allocations: 4.346 MB / 0.6656 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008934/0.6696, allocations: 372.8 kB / 0.666 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005618/0.6701, allocations: 24.06 kB / 0.666 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.6715, allocations: 75.89 kB / 0.6661 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/0.6717, allocations: 66.91 kB / 0.6661 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/0.6718, allocations: 32 kB / 0.6662 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004157/0.6759, allocations: 2.327 MB / 0.6684 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.503e-06/0.676, allocations: 0 / 0.6684 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004743/0.6807, allocations: 0.8085 MB / 0.6692 GB, free: 6.844 MB / 0.5137 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.00765/0.6884, allocations: 4.978 MB / 0.6741 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006483/0.6949, allocations: 4.026 MB / 0.678 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.6949, allocations: 0 / 0.678 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.6966, allocations: 1.12 MB / 0.6791 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/0.6998, allocations: 375.2 kB / 0.6795 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2947/0.9946, allocations: 43.77 MB / 0.7222 GB, free: 211.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003283/0.9979, allocations: 2.784 MB / 0.7249 GB, free: 211.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004691/1.003, allocations: 1.661 MB / 0.7265 GB, free: 211.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/1.005, allocations: 1.525 MB / 0.728 GB, free: 210.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/1.005, allocations: 0 / 0.728 GB, free: 210.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07755/1.082, allocations: 59.18 MB / 0.7858 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/1.083, allocations: 223.4 kB / 0.786 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/4.682, allocations: 4 kB / 0.786 GB, free: 165.3 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches