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.00115/0.00115, allocations: 106.2 kB / 17.21 MB, free: 6.293 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.001366/0.001366, allocations: 194 kB / 18.12 MB, free: 5.383 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.346/1.346, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.2166/0.2166, allocations: 44.16 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 70.78 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1189, allocations: 60.83 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03285/0.1517, allocations: 34.71 MB / 0.4916 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.1696, allocations: 7.909 MB / 0.4993 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006541/0.1762, allocations: 151.6 kB / 0.4994 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004354/0.1806, allocations: 1.924 MB / 0.5013 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006454/0.1871, allocations: 1.538 MB / 0.5028 GB, free: 324 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2707/0.4578, allocations: 0.5572 MB / 0.5033 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007932/0.4658, allocations: 4.736 MB / 0.508 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004271/0.4701, allocations: 2.541 MB / 0.5105 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.4724, allocations: 1.105 MB / 0.5115 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00305/0.4755, allocations: 1.796 MB / 0.5133 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006094/0.4761, allocations: 175.3 kB / 0.5135 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.4784, allocations: 1.012 MB / 0.5144 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001795/0.4802, allocations: 1.506 MB / 0.5159 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.4822, allocations: 1.775 MB / 0.5176 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006112/0.4884, allocations: 5.587 MB / 0.5231 GB, free: 8.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4884, allocations: 2.906 kB / 0.5231 GB, free: 8.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4884, allocations: 0 / 0.5231 GB, free: 8.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001371/0.4885, allocations: 0 / 0.5231 GB, free: 8.117 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.009559/0.4981, allocations: 4.03 MB / 0.527 GB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.4982, allocations: 9.031 kB / 0.5271 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001236/0.4994, allocations: 0.6099 MB / 0.5276 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005904/0.5053, allocations: 1.776 MB / 0.5294 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004158/0.5095, allocations: 2.234 MB / 0.5316 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.5097, allocations: 190 kB / 0.5317 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000471/0.5101, allocations: 255.2 kB / 0.532 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.5235, allocations: 8.443 MB / 0.5402 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.5237, allocations: 33.16 kB / 0.5403 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003824/0.5241, allocations: 128.5 kB / 0.5404 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002705/0.5268, allocations: 1.69 MB / 0.542 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.5406, allocations: 7.106 MB / 0.549 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04998/0.5907, allocations: 34.15 MB / 0.5823 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007857/0.5986, allocations: 3.288 MB / 0.5855 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/0.6008, allocations: 1.462 MB / 0.587 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008025/0.6089, allocations: 4.351 MB / 0.5912 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.6089, allocations: 44.81 kB / 0.5913 GB, free: 8.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.617e-06/0.609, allocations: 0 / 0.5913 GB, free: 8.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03266/0.6416, allocations: 11.53 MB / 0.6025 GB, free: 13.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.6418, allocations: 166.9 kB / 0.6027 GB, free: 13.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006314/0.6481, allocations: 3.726 MB / 0.6063 GB, free: 9.355 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003976/0.6485, allocations: 45.7 kB / 0.6064 GB, free: 9.305 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002829/0.6514, allocations: 2.758 MB / 0.6091 GB, free: 6.547 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009325/0.6523, allocations: 0.5159 MB / 0.6096 GB, free: 6.035 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001951/0.6543, allocations: 1.074 MB / 0.6106 GB, free: 4.953 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6544, allocations: 310.9 kB / 0.6109 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002666/0.6571, allocations: 1.697 MB / 0.6126 GB, free: 2.945 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005305/0.6624, allocations: 5.119 MB / 0.6176 GB, free: 12.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009176/0.6716, allocations: 7.401 MB / 0.6248 GB, free: 3.547 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.294e-05/0.6717, allocations: 36 kB / 0.6248 GB, free: 3.512 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01181/0.6836, allocations: 6.694 MB / 0.6314 GB, free: 13.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/0.6837, allocations: 56 kB / 0.6314 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/0.6838, allocations: 127.9 kB / 0.6315 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006383/0.6845, allocations: 325.3 kB / 0.6318 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/0.688, allocations: 1.232 MB / 0.633 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.6906, allocations: 2.282 MB / 0.6353 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003823/0.6944, allocations: 295 kB / 0.6356 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004834/0.6949, allocations: 335.9 kB / 0.6359 GB, free: 8.348 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.003139/0.698, allocations: 1.787 MB / 0.6376 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005807/0.6986, allocations: 315.7 kB / 0.6379 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004555/0.7032, allocations: 2.359 MB / 0.6402 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/0.7032, allocations: 16 kB / 0.6402 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.7033, allocations: 7.938 kB / 0.6403 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.7033, allocations: 7.969 kB / 0.6403 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.7152, allocations: 5.925 MB / 0.646 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.7152, allocations: 0 / 0.646 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/0.7161, allocations: 171.8 kB / 0.6462 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002164/0.7182, allocations: 0.716 MB / 0.6469 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.7184, allocations: 20 kB / 0.6469 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005916/0.7243, allocations: 4.463 MB / 0.6513 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7243, allocations: 11.88 kB / 0.6513 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007146/0.7315, allocations: 4.329 MB / 0.6555 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.7325, allocations: 360.9 kB / 0.6559 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/0.7329, allocations: 24 kB / 0.6559 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.7339, allocations: 71.81 kB / 0.656 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.7341, allocations: 68.5 kB / 0.656 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.69e-05/0.7342, allocations: 36 kB / 0.6561 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004068/0.7383, allocations: 2.327 MB / 0.6583 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7383, allocations: 0 / 0.6583 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004369/0.7427, allocations: 0.8164 MB / 0.6591 GB, free: 316 kB / 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.007622/0.7503, allocations: 4.962 MB / 0.664 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006789/0.7571, allocations: 4.019 MB / 0.6679 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.7572, allocations: 4 kB / 0.6679 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.7588, allocations: 1.115 MB / 0.669 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/0.7618, allocations: 370 kB / 0.6693 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2832/1.045, allocations: 43.7 MB / 0.712 GB, free: 195.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003497/1.049, allocations: 2.788 MB / 0.7147 GB, free: 194.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004315/1.053, allocations: 1.661 MB / 0.7164 GB, free: 194.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/1.055, allocations: 1.524 MB / 0.7179 GB, free: 194.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.282e-06/1.055, allocations: 0 / 0.7179 GB, free: 194.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08838/1.143, allocations: 59.95 MB / 0.7764 GB, free: 146.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/1.143, allocations: 234.2 kB / 0.7766 GB, free: 145.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.748/4.891, allocations: 0 / 0.7766 GB, free: 145.8 MB / 0.545 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