Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001451/0.001451, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001727, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.11 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 75.44 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.117, allocations: 62.44 MB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03362/0.1506, allocations: 34.51 MB / 0.5024 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2326/0.3833, allocations: 7.812 MB / 0.51 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007335/0.3907, allocations: 149.2 kB / 0.5102 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004647/0.3954, allocations: 1.92 MB / 0.512 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004603/0.4001, allocations: 1.519 MB / 0.5135 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.402, allocations: 0.5604 MB / 0.5141 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008079/0.4101, allocations: 4.763 MB / 0.5187 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004476/0.4146, allocations: 2.539 MB / 0.5212 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.4174, allocations: 1.091 MB / 0.5223 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003504/0.4209, allocations: 1.796 MB / 0.524 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.422, allocations: 175.1 kB / 0.5242 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.4248, allocations: 0.9995 MB / 0.5252 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001994/0.4268, allocations: 1.493 MB / 0.5266 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003487/0.4303, allocations: 1.744 MB / 0.5283 GB, free: 5.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.4359, allocations: 4.503 MB / 0.5327 GB, free: 3.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4359, allocations: 0 / 0.5327 GB, free: 3.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4359, allocations: 0 / 0.5327 GB, free: 3.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002542/0.4362, allocations: 0 / 0.5327 GB, free: 3.023 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.009467/0.4457, allocations: 4.002 MB / 0.5366 GB, free: 284 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4457, allocations: 10.94 kB / 0.5366 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005998/0.4517, allocations: 1.771 MB / 0.5384 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00387/0.4556, allocations: 1.876 MB / 0.5402 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.4558, allocations: 195.2 kB / 0.5404 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005813/0.4564, allocations: 257.4 kB / 0.5406 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.4706, allocations: 8.454 MB / 0.5489 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.4707, allocations: 43.58 kB / 0.5489 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/0.4711, allocations: 130.2 kB / 0.549 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002682/0.4738, allocations: 1.692 MB / 0.5507 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.488, allocations: 7.112 MB / 0.5576 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04362/0.5316, allocations: 34.15 MB / 0.591 GB, free: 9.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007572/0.5392, allocations: 3.298 MB / 0.5942 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/0.5414, allocations: 1.464 MB / 0.5956 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007127/0.5485, allocations: 4.443 MB / 0.6 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.5486, allocations: 51.05 kB / 0.6 GB, free: 148 kB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.198e-06/0.5486, allocations: 0 / 0.6 GB, free: 148 kB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03068/0.5793, allocations: 11.55 MB / 0.6113 GB, free: 4.445 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.5794, allocations: 166.9 kB / 0.6115 GB, free: 4.246 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007089/0.5865, allocations: 3.713 MB / 0.6151 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002999/0.5869, allocations: 43.89 kB / 0.6151 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002382/0.5893, allocations: 2.742 MB / 0.6178 GB, free: 13.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008332/0.5901, allocations: 0.5332 MB / 0.6183 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002245/0.5924, allocations: 1.075 MB / 0.6194 GB, free: 12.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5925, allocations: 305.1 kB / 0.6197 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/0.5955, allocations: 1.709 MB / 0.6214 GB, free: 10.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/0.6008, allocations: 5.139 MB / 0.6264 GB, free: 3.254 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008787/0.6096, allocations: 7.421 MB / 0.6336 GB, free: 10.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/0.6098, allocations: 36 kB / 0.6337 GB, free: 10.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01308/0.6229, allocations: 6.729 MB / 0.6402 GB, free: 3.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.6231, allocations: 60.06 kB / 0.6403 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001803/0.6233, allocations: 124 kB / 0.6404 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007189/0.624, allocations: 324.6 kB / 0.6407 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004108/0.6281, allocations: 1.248 MB / 0.6419 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.6309, allocations: 2.28 MB / 0.6442 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/0.6351, allocations: 295.5 kB / 0.6444 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009775/0.6361, allocations: 332 kB / 0.6448 GB, free: 14.57 MB / 0.4981 GB 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.003921/0.64, allocations: 1.798 MB / 0.6465 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008026/0.6408, allocations: 308.4 kB / 0.6468 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005144/0.646, allocations: 2.367 MB / 0.6491 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/0.646, allocations: 16 kB / 0.6491 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/0.6461, allocations: 7.938 kB / 0.6491 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.6461, allocations: 7.969 kB / 0.6491 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.6601, allocations: 5.928 MB / 0.6549 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/0.6602, allocations: 4 kB / 0.6549 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008931/0.6611, allocations: 179.7 kB / 0.6551 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002196/0.6633, allocations: 0.7108 MB / 0.6558 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/0.6635, allocations: 23.98 kB / 0.6558 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006005/0.6695, allocations: 4.473 MB / 0.6602 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6696, allocations: 4 kB / 0.6602 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007407/0.677, allocations: 4.339 MB / 0.6644 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.678, allocations: 365 kB / 0.6648 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009724/0.679, allocations: 20 kB / 0.6648 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.6807, allocations: 75.95 kB / 0.6649 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.681, allocations: 68.5 kB / 0.6649 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.6811, allocations: 38.19 kB / 0.665 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004892/0.686, allocations: 2.315 MB / 0.6672 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.61e-07/0.6861, allocations: 0 / 0.6672 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005529/0.6916, allocations: 0.8124 MB / 0.668 GB, free: 6.492 MB / 0.5137 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.0005784/0.6922, allocations: 145.7 kB / 0.6682 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007255/0.6995, allocations: 4.044 MB / 0.6721 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.6995, allocations: 0 / 0.6721 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.7013, allocations: 1.115 MB / 0.6732 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/0.7046, allocations: 368.8 kB / 0.6736 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.7205, allocations: 9.325 MB / 0.6827 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003404/0.724, allocations: 2.789 MB / 0.6854 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009966/0.725, allocations: 247.4 kB / 0.6856 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.725, allocations: 0 / 0.6856 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of Templates: time 0.2996/1.025, allocations: 63.73 MB / 0.7479 GB, free: 172.1 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches