Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 103.7 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3798/0.3798, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3829, allocations: 62.02 MB / 0.5151 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.03728/0.4202, allocations: 46.39 MB / 0.5605 GB, free: 4.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02477/0.4451, allocations: 9.681 MB / 0.5699 GB, free: 14.23 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01209/0.4572, allocations: 191.8 kB / 0.5701 GB, free: 14.2 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005993/0.4632, allocations: 2.181 MB / 0.5722 GB, free: 13.22 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006622/0.4699, allocations: 1.874 MB / 0.5741 GB, free: 12.27 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.4719, allocations: 0.5651 MB / 0.5746 GB, free: 11.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008117/0.48, allocations: 6.087 MB / 0.5805 GB, free: 6.461 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004831/0.4849, allocations: 3.078 MB / 0.5836 GB, free: 3.332 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.4881, allocations: 1.397 MB / 0.5849 GB, free: 1.93 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003825/0.492, allocations: 2.328 MB / 0.5872 GB, free: 15.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.4931, allocations: 240 kB / 0.5874 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/0.4961, allocations: 0.9907 MB / 0.5884 GB, free: 14.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00285/0.499, allocations: 1.916 MB / 0.5903 GB, free: 12.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004489/0.5035, allocations: 2.317 MB / 0.5925 GB, free: 10.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.5135, allocations: 7.382 MB / 0.5997 GB, free: 2.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5136, allocations: 0 / 0.5997 GB, free: 2.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5136, allocations: 0 / 0.5997 GB, free: 2.707 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002697/0.5139, allocations: 0 / 0.5997 GB, free: 2.707 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01397/0.5279, allocations: 5.096 MB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.5279, allocations: 12.03 kB / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.539, allocations: 3.188 MB / 0.6078 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006336/0.5454, allocations: 2.346 MB / 0.6101 GB, free: 7.934 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.5456, allocations: 250.6 kB / 0.6104 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008063/0.5464, allocations: 335.6 kB / 0.6107 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01793/0.5644, allocations: 12.23 MB / 0.6226 GB, free: 10.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.755e-05/0.5645, allocations: 39.66 kB / 0.6227 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000416/0.5649, allocations: 151.8 kB / 0.6228 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004493/0.5694, allocations: 2.848 MB / 0.6256 GB, free: 7.555 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02153/0.591, allocations: 11.12 MB / 0.6365 GB, free: 12.42 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06456/0.6556, allocations: 40.71 MB / 0.6762 GB, free: 2.656 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3332/0.9889, allocations: 4.691 MB / 0.6808 GB, free: 128.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003943/0.9929, allocations: 2.433 MB / 0.6832 GB, free: 127.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.994, allocations: 1.318 MB / 0.6845 GB, free: 126.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.994, allocations: 51.44 kB / 0.6845 GB, free: 126.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 6.021e-06/0.994, allocations: 0 / 0.6845 GB, free: 126.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.04373/1.038, allocations: 18.68 MB / 0.7027 GB, free: 120.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/1.038, allocations: 81.69 kB / 0.7028 GB, free: 120.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006963/1.045, allocations: 3.171 MB / 0.7059 GB, free: 119.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007997/1.046, allocations: 60.86 kB / 0.706 GB, free: 119.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00284/1.049, allocations: 3.116 MB / 0.709 GB, free: 116.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001749/1.05, allocations: 0.9665 MB / 0.71 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002139/1.052, allocations: 1.183 MB / 0.7111 GB, free: 115.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.24e-05/1.053, allocations: 302.2 kB / 0.7114 GB, free: 115.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004762/1.057, allocations: 2.474 MB / 0.7138 GB, free: 114.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006268/1.064, allocations: 5.732 MB / 0.7194 GB, free: 109.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009684/1.073, allocations: 8.99 MB / 0.7282 GB, free: 102.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001285/1.073, allocations: 32.31 kB / 0.7282 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01602/1.09, allocations: 9.004 MB / 0.737 GB, free: 96.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-05/1.09, allocations: 56 kB / 0.7371 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/1.09, allocations: 118.2 kB / 0.7372 GB, free: 96.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002984/1.093, allocations: 1.054 MB / 0.7382 GB, free: 95.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004724/1.097, allocations: 1.356 MB / 0.7395 GB, free: 94.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005817/1.103, allocations: 5.132 MB / 0.7446 GB, free: 89.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005002/1.108, allocations: 323.7 kB / 0.7449 GB, free: 89.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008466/1.109, allocations: 340 kB / 0.7452 GB, free: 89.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 722 * Array equations: 6 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003924/1.113, allocations: 2.412 MB / 0.7475 GB, free: 86.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006863/1.114, allocations: 323.8 kB / 0.7479 GB, free: 86.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008561/1.122, allocations: 5.364 MB / 0.7531 GB, free: 81.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.427e-05/1.123, allocations: 51.42 kB / 0.7531 GB, free: 80.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.123, allocations: 4 kB / 0.7531 GB, free: 80.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/1.123, allocations: 11.91 kB / 0.7532 GB, free: 80.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02091/1.143, allocations: 13.06 MB / 0.7659 GB, free: 67.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/1.144, allocations: 16.95 kB / 0.7659 GB, free: 67.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/1.145, allocations: 423.3 kB / 0.7663 GB, free: 67.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/1.148, allocations: 0.8902 MB / 0.7672 GB, free: 66.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003098/1.148, allocations: 52 kB / 0.7673 GB, free: 66.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004842/1.153, allocations: 4.507 MB / 0.7717 GB, free: 61.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/1.153, allocations: 19.97 kB / 0.7717 GB, free: 61.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0481/1.201, allocations: 31.01 MB / 0.802 GB, free: 30.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005998/1.202, allocations: 365 kB / 0.8023 GB, free: 29.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004209/1.202, allocations: 55.58 kB / 0.8024 GB, free: 29.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.203, allocations: 147.8 kB / 0.8025 GB, free: 29.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/1.204, allocations: 173.4 kB / 0.8027 GB, free: 29.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.204, allocations: 75.98 kB / 0.8027 GB, free: 29.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002427/1.206, allocations: 1.964 MB / 0.8047 GB, free: 27.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.206, allocations: 0 / 0.8047 GB, free: 27.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00654/1.213, allocations: 1.318 MB / 0.8059 GB, free: 26.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * Array equations: 6 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006297/1.214, allocations: 203.1 kB / 0.8061 GB, free: 25.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007906/1.222, allocations: 5.992 MB / 0.812 GB, free: 19.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/1.222, allocations: 4.375 kB / 0.812 GB, free: 19.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002533/1.224, allocations: 2.257 MB / 0.8142 GB, free: 17.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.227, allocations: 438.3 kB / 0.8146 GB, free: 17.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.245, allocations: 15.62 MB / 0.8299 GB, free: 1.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004047/1.25, allocations: 3.786 MB / 0.8336 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00497/1.254, allocations: 2.165 MB / 0.8357 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007666/1.255, allocations: 243.4 kB / 0.8359 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/1.255, allocations: 0 / 0.8359 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.3228/1.578, allocations: 41.96 MB / 0.8769 GB, free: 160.8 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches