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.001429/0.001429, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001607/0.001607, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.362/1.362, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2007/0.2007, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001386/0.001386, allocations: 69.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1101, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01161/0.1217, allocations: 10.28 MB / 0.4974 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007774/0.1295, allocations: 3.784 MB / 0.5011 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.1313, allocations: 59.81 kB / 0.5012 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003963/0.1352, allocations: 1.943 MB / 0.5031 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005764/0.1411, allocations: 1.661 MB / 0.5047 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.143, allocations: 0.6043 MB / 0.5053 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005144/0.1481, allocations: 3.353 MB / 0.5086 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003638/0.1518, allocations: 2.576 MB / 0.5111 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.1542, allocations: 1.253 MB / 0.5123 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/0.1572, allocations: 1.674 MB / 0.514 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008995/0.1581, allocations: 256 kB / 0.5142 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.1606, allocations: 1.03 MB / 0.5152 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.1627, allocations: 1.586 MB / 0.5168 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003056/0.1658, allocations: 1.841 MB / 0.5185 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007559/0.1733, allocations: 5.843 MB / 0.5243 GB, free: 6.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1734, allocations: 7.938 kB / 0.5243 GB, free: 6.344 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1734, allocations: 0 / 0.5243 GB, free: 6.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002313/0.1736, allocations: 4 kB / 0.5243 GB, free: 6.34 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.009627/0.1833, allocations: 4.034 MB / 0.5282 GB, free: 2.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.1833, allocations: 19.89 kB / 0.5282 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001394/0.1847, allocations: 0.6121 MB / 0.5288 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2291/0.4139, allocations: 1.775 MB / 0.5306 GB, free: 36.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005131/0.419, allocations: 2.425 MB / 0.5329 GB, free: 36.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.4193, allocations: 190 kB / 0.5331 GB, free: 36.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006959/0.42, allocations: 253 kB / 0.5333 GB, free: 36.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.4347, allocations: 8.444 MB / 0.5416 GB, free: 32.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/0.4348, allocations: 37.7 kB / 0.5416 GB, free: 32.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004123/0.4353, allocations: 126.4 kB / 0.5417 GB, free: 32.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003031/0.4383, allocations: 1.698 MB / 0.5434 GB, free: 32.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.4527, allocations: 7.096 MB / 0.5503 GB, free: 30.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03312/0.4859, allocations: 34.03 MB / 0.5836 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007186/0.4931, allocations: 3.288 MB / 0.5868 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/0.4952, allocations: 1.47 MB / 0.5882 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007074/0.5023, allocations: 4.353 MB / 0.5925 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.5023, allocations: 51.06 kB / 0.5925 GB, free: 6.598 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 5.019e-06/0.5024, allocations: 0 / 0.5925 GB, free: 6.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02833/0.5307, allocations: 11.59 MB / 0.6038 GB, free: 10.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.5308, allocations: 170.9 kB / 0.604 GB, free: 10.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005235/0.5361, allocations: 3.75 MB / 0.6077 GB, free: 6.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002414/0.5364, allocations: 41.7 kB / 0.6077 GB, free: 6.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.5383, allocations: 2.744 MB / 0.6104 GB, free: 4.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006189/0.5389, allocations: 0.5249 MB / 0.6109 GB, free: 3.559 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/0.5403, allocations: 1.071 MB / 0.6119 GB, free: 2.477 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.5404, allocations: 305.1 kB / 0.6122 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/0.5429, allocations: 1.702 MB / 0.6139 GB, free: 480 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004781/0.5477, allocations: 5.123 MB / 0.6189 GB, free: 9.617 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007883/0.5556, allocations: 7.399 MB / 0.6261 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.4e-05/0.5557, allocations: 35.94 kB / 0.6262 GB, free: 492 kB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.011/0.5667, allocations: 6.699 MB / 0.6327 GB, free: 9.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.404e-05/0.5668, allocations: 56 kB / 0.6327 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/0.5669, allocations: 127.9 kB / 0.6329 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.5675, allocations: 321.1 kB / 0.6332 GB, free: 9.273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/0.5711, allocations: 1.236 MB / 0.6344 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.5737, allocations: 2.49 MB / 0.6368 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/0.5773, allocations: 291.4 kB / 0.6371 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005776/0.5779, allocations: 337.5 kB / 0.6374 GB, free: 4.789 MB / 478.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.002689/0.5806, allocations: 1.794 MB / 0.6392 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005628/0.5812, allocations: 308 kB / 0.6395 GB, free: 2.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/0.5857, allocations: 2.371 MB / 0.6418 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.5858, allocations: 15.94 kB / 0.6418 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5858, allocations: 4 kB / 0.6418 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.5858, allocations: 7.984 kB / 0.6418 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.5964, allocations: 5.916 MB / 0.6476 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.5965, allocations: 0 / 0.6476 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008038/0.5973, allocations: 179.7 kB / 0.6478 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002032/0.5993, allocations: 0.7108 MB / 0.6484 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.5995, allocations: 20 kB / 0.6485 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005999/0.6055, allocations: 4.822 MB / 0.6532 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.6055, allocations: 4 kB / 0.6532 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007103/0.6126, allocations: 4.329 MB / 0.6574 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.6141, allocations: 0.5281 MB / 0.6579 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007362/0.6148, allocations: 16 kB / 0.6579 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.6163, allocations: 71.91 kB / 0.658 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.6165, allocations: 76.44 kB / 0.6581 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.07e-05/0.6166, allocations: 32.06 kB / 0.6581 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003857/0.6205, allocations: 2.343 MB / 0.6604 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6205, allocations: 0 / 0.6604 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004724/0.6252, allocations: 0.8216 MB / 0.6612 GB, free: 12.16 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.007006/0.6322, allocations: 4.949 MB / 0.666 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006431/0.6387, allocations: 4.026 MB / 0.67 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.6387, allocations: 0 / 0.67 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.6402, allocations: 1.112 MB / 0.6711 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/0.643, allocations: 401.2 kB / 0.6714 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05833/0.7013, allocations: 37.67 MB / 0.7082 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004176/0.7056, allocations: 2.789 MB / 0.7109 GB, free: 3.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004058/0.7096, allocations: 1.656 MB / 0.7126 GB, free: 2.312 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002412/0.7121, allocations: 1.53 MB / 0.7141 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/0.7121, allocations: 0 / 0.7141 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3676/1.08, allocations: 58.7 MB / 0.7714 GB, free: 189.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.83/23.91, allocations: 7.938 kB / 0.7714 GB, free: 189.6 MB / 0.5762 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches