Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001151, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.1 MB / 344.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 76.72 kB / 418.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1161, allocations: 62.45 MB / 480.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01447/0.1307, allocations: 12.66 MB / 493.4 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.1411, allocations: 4.497 MB / 497.9 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.1443, allocations: 87.75 kB / 497.9 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007596/0.152, allocations: 3.711 MB / 0.4899 GB, free: 272 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006094/0.1581, allocations: 2.183 MB / 0.492 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.1609, allocations: 1.002 MB / 0.493 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009059/0.1699, allocations: 6.035 MB / 0.4989 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006665/0.1766, allocations: 4.565 MB / 0.5034 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003587/0.1803, allocations: 1.943 MB / 0.5053 GB, free: 452 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2102/0.3905, allocations: 2.613 MB / 0.5078 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002066/0.3926, allocations: 408.7 kB / 0.5082 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.3969, allocations: 1.431 MB / 0.5096 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004577/0.4015, allocations: 2.421 MB / 0.512 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006523/0.4081, allocations: 2.71 MB / 0.5146 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.4218, allocations: 8.364 MB / 0.5228 GB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4218, allocations: 0 / 0.5228 GB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4218, allocations: 4.375 kB / 0.5228 GB, free: 15.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004079/0.4222, allocations: 0 / 0.5228 GB, free: 15.11 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01982/0.4421, allocations: 6.015 MB / 0.5287 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4421, allocations: 10.22 kB / 0.5287 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.4551, allocations: 2.543 MB / 0.5311 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009878/0.465, allocations: 3.669 MB / 0.5347 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.4653, allocations: 286.6 kB / 0.535 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001982/0.4673, allocations: 378.5 kB / 0.5354 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02455/0.4918, allocations: 11.61 MB / 0.5467 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003442/0.4922, allocations: 47.06 kB / 0.5467 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001985/0.4942, allocations: 180.7 kB / 0.5469 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004112/0.4984, allocations: 2.148 MB / 0.549 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02384/0.5222, allocations: 9.63 MB / 0.5584 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06324/0.5855, allocations: 45.96 MB / 0.6033 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.5965, allocations: 3.918 MB / 0.6071 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/0.5996, allocations: 2.141 MB / 0.6092 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.6115, allocations: 5.861 MB / 0.6149 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.6116, allocations: 54.31 kB / 0.615 GB, free: 10.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 4.929e-06/0.6116, allocations: 0 / 0.615 GB, free: 10.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=162): time 0.05234/0.6639, allocations: 17.36 MB / 0.632 GB, free: 9.027 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.6641, allocations: 225.4 kB / 0.6322 GB, free: 8.762 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009645/0.6737, allocations: 5.615 MB / 0.6377 GB, free: 3.164 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004566/0.6742, allocations: 52.83 kB / 0.6377 GB, free: 3.109 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003037/0.6773, allocations: 3.71 MB / 0.6413 GB, free: 15.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/0.6784, allocations: 0.6611 MB / 0.642 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00352/0.682, allocations: 1.408 MB / 0.6433 GB, free: 13.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6821, allocations: 301.1 kB / 0.6436 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/0.6857, allocations: 2.289 MB / 0.6459 GB, free: 10.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006543/0.6923, allocations: 6.552 MB / 0.6523 GB, free: 2.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/0.7035, allocations: 9.513 MB / 0.6616 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001596/0.7038, allocations: 47.94 kB / 0.6616 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.0204/0.7242, allocations: 9.583 MB / 0.671 GB, free: 13.53 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002236/0.7244, allocations: 75.94 kB / 0.671 GB, free: 13.46 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002721/0.7247, allocations: 148 kB / 0.6712 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003728/0.7285, allocations: 1.231 MB / 0.6724 GB, free: 12.07 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005554/0.7341, allocations: 1.567 MB / 0.6739 GB, free: 10.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.7453, allocations: 8.471 MB / 0.6822 GB, free: 1.762 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006185/0.7515, allocations: 373.7 kB / 0.6825 GB, free: 1.398 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/0.7531, allocations: 424 kB / 0.6829 GB, free: 0.9844 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (836): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006424/0.7595, allocations: 2.455 MB / 0.6853 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/0.7608, allocations: 461.9 kB / 0.6858 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00779/0.7686, allocations: 3.388 MB / 0.6891 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.404e-05/0.7687, allocations: 23.94 kB / 0.6891 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.7687, allocations: 4 kB / 0.6891 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.233e-05/0.7688, allocations: 7.969 kB / 0.6891 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/0.7899, allocations: 8.203 MB / 0.6971 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/0.7899, allocations: 3.984 kB / 0.6971 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.7913, allocations: 259.5 kB / 0.6974 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002999/0.7943, allocations: 1.001 MB / 0.6984 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002852/0.7946, allocations: 28.66 kB / 0.6984 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.8047, allocations: 7.803 MB / 0.706 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.8048, allocations: 7.938 kB / 0.706 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009951/0.8147, allocations: 5.865 MB / 0.7117 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/0.8165, allocations: 0.5186 MB / 0.7122 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/0.8179, allocations: 28 kB / 0.7123 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002541/0.8205, allocations: 87.88 kB / 0.7124 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/0.8209, allocations: 100.8 kB / 0.7125 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/0.8211, allocations: 47.98 kB / 0.7125 GB, free: 2.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.225/1.046, allocations: 3.589 MB / 0.716 GB, free: 188.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.42e-07/1.046, allocations: 0 / 0.716 GB, free: 188.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008409/1.055, allocations: 1.147 MB / 0.7171 GB, free: 188.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (120): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (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.0005803/1.055, allocations: 154.6 kB / 0.7173 GB, free: 188.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.066, allocations: 5.93 MB / 0.7231 GB, free: 188.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.066, allocations: 0 / 0.7231 GB, free: 188.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002501/1.069, allocations: 1.634 MB / 0.7247 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/1.073, allocations: 0.5924 MB / 0.7252 GB, free: 187.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/1.093, allocations: 11.36 MB / 0.7363 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00433/1.097, allocations: 3.754 MB / 0.74 GB, free: 180.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.098, allocations: 334.1 kB / 0.7403 GB, free: 180.9 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/1.098, allocations: 0 / 0.7403 GB, free: 180.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1284/1.227, allocations: 111.6 MB / 0.8493 GB, free: 77.25 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches