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: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001512/0.001513, allocations: 187 kB / 19.34 MB, free: 3.641 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.365/1.365, allocations: 222.9 MB / 243 MB, free: 15.16 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.2029/0.2029, allocations: 44.17 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 58.81 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1195, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01122/0.1308, allocations: 10.27 MB / 481 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007829/0.1387, allocations: 3.794 MB / 484.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.1403, allocations: 51.88 kB / 484.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00377/0.144, allocations: 1.939 MB / 486.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004389/0.1485, allocations: 1.664 MB / 488.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1499, allocations: 0.6199 MB / 489 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004128/0.154, allocations: 3.333 MB / 492.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00256/0.1566, allocations: 2.576 MB / 494.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.1581, allocations: 1.242 MB / 496.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.1598, allocations: 1.67 MB / 497.9 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004082/0.1602, allocations: 252 kB / 498.1 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.1619, allocations: 1.041 MB / 499.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.1631, allocations: 1.555 MB / 0.489 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.1648, allocations: 1.833 MB / 0.4908 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006626/0.1714, allocations: 5.831 MB / 0.4965 GB, free: 7.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1715, allocations: 0 / 0.4965 GB, free: 7.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1715, allocations: 0 / 0.4965 GB, free: 7.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002042/0.1717, allocations: 0 / 0.4965 GB, free: 7.824 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.01341/0.1851, allocations: 4.022 MB / 0.5004 GB, free: 3.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001443/0.1853, allocations: 8.031 kB / 0.5004 GB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00964/0.195, allocations: 1.766 MB / 0.5021 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2648/0.4598, allocations: 1.955 MB / 0.504 GB, free: 46.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/0.4601, allocations: 190.4 kB / 0.5042 GB, free: 46.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/0.4614, allocations: 253.8 kB / 0.5044 GB, free: 46.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01534/0.4768, allocations: 8.436 MB / 0.5127 GB, free: 42.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.4769, allocations: 41.34 kB / 0.5127 GB, free: 42.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/0.4773, allocations: 122.9 kB / 0.5128 GB, free: 42.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003075/0.4803, allocations: 1.698 MB / 0.5145 GB, free: 42.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/0.4935, allocations: 7.099 MB / 0.5214 GB, free: 40.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03245/0.526, allocations: 34.02 MB / 0.5547 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005979/0.532, allocations: 3.271 MB / 0.5578 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.5335, allocations: 1.471 MB / 0.5593 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007001/0.5405, allocations: 4.379 MB / 0.5636 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.5406, allocations: 43.12 kB / 0.5636 GB, free: 13.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 5.7e-06/0.5406, allocations: 0 / 0.5636 GB, free: 13.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02775/0.5683, allocations: 11.52 MB / 0.5748 GB, free: 2.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.5685, allocations: 166.9 kB / 0.575 GB, free: 1.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004605/0.5731, allocations: 3.725 MB / 0.5786 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.5733, allocations: 41.7 kB / 0.5787 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.5751, allocations: 2.744 MB / 0.5814 GB, free: 11.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005746/0.5757, allocations: 0.5286 MB / 0.5819 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/0.577, allocations: 1.079 MB / 0.5829 GB, free: 9.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5771, allocations: 305.1 kB / 0.5832 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.5795, allocations: 1.705 MB / 0.5849 GB, free: 7.676 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/0.5843, allocations: 5.135 MB / 0.5899 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00828/0.5926, allocations: 7.407 MB / 0.5971 GB, free: 7.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.703e-05/0.5927, allocations: 36 kB / 0.5972 GB, free: 7.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01226/0.605, allocations: 6.728 MB / 0.6037 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.6052, allocations: 60 kB / 0.6038 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/0.6054, allocations: 120 kB / 0.6039 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006868/0.606, allocations: 325.3 kB / 0.6042 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004122/0.6102, allocations: 1.24 MB / 0.6054 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/0.6131, allocations: 2.487 MB / 0.6079 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/0.6169, allocations: 303.5 kB / 0.6082 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007479/0.6176, allocations: 335.9 kB / 0.6085 GB, free: 11.94 MB / 446.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 (668): * Single equations (assignments): 664 * 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.003472/0.6211, allocations: 1.787 MB / 0.6102 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008304/0.6219, allocations: 311.9 kB / 0.6105 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004994/0.6269, allocations: 2.359 MB / 0.6128 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.032e-05/0.627, allocations: 16 kB / 0.6128 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/0.627, allocations: 4 kB / 0.6128 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.6271, allocations: 7.969 kB / 0.6128 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/0.642, allocations: 5.914 MB / 0.6186 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.6421, allocations: 0 / 0.6186 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008824/0.643, allocations: 175.8 kB / 0.6188 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002248/0.6453, allocations: 0.7146 MB / 0.6195 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.6454, allocations: 23.98 kB / 0.6195 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006414/0.6519, allocations: 4.819 MB / 0.6242 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6519, allocations: 0 / 0.6242 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006757/0.6587, allocations: 4.318 MB / 0.6284 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009315/0.6596, allocations: 368.9 kB / 0.6288 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004893/0.6601, allocations: 20 kB / 0.6288 GB, free: 6.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.6614, allocations: 67.91 kB / 0.6289 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.6616, allocations: 72.56 kB / 0.6289 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.96e-05/0.6617, allocations: 39.98 kB / 0.629 GB, free: 6.637 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003548/0.6652, allocations: 2.319 MB / 0.6312 GB, free: 4.332 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6652, allocations: 0 / 0.6312 GB, free: 4.332 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003509/0.6688, allocations: 0.8228 MB / 0.632 GB, free: 3.512 MB / 462.1 MB 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.0003105/0.6691, allocations: 152.4 kB / 0.6322 GB, free: 3.359 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005572/0.6747, allocations: 4.046 MB / 0.6361 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6747, allocations: 3.938 kB / 0.6361 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.6761, allocations: 1.111 MB / 0.6372 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.6781, allocations: 398.4 kB / 0.6376 GB, free: 13.81 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.6894, allocations: 7.251 MB / 0.6447 GB, free: 6.527 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002932/0.6924, allocations: 2.781 MB / 0.6474 GB, free: 3.723 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003816/0.6963, allocations: 1.672 MB / 0.649 GB, free: 2.047 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006299/0.6969, allocations: 207.4 kB / 0.6492 GB, free: 1.848 MB / 478.1 MB Notification: Performance of SimCode: time 1.362e-06/0.6969, allocations: 3.938 kB / 0.6492 GB, free: 1.844 MB / 478.1 MB Notification: Performance of Templates: time 0.06477/0.7617, allocations: 26.18 MB / 0.6748 GB, free: 7.793 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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