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.001179/0.00118, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 75.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.338, allocations: 62.42 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01206/0.3502, allocations: 10.24 MB / 0.541 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008797/0.359, allocations: 3.802 MB / 0.5447 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.3616, allocations: 54.38 kB / 0.5448 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004409/0.3661, allocations: 1.935 MB / 0.5466 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005705/0.3718, allocations: 1.626 MB / 0.5482 GB, free: 32 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.3737, allocations: 0.616 MB / 0.5488 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006121/0.3799, allocations: 3.367 MB / 0.5521 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00439/0.3843, allocations: 2.575 MB / 0.5546 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002649/0.387, allocations: 1.238 MB / 0.5558 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.3901, allocations: 1.67 MB / 0.5575 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009811/0.3911, allocations: 256 kB / 0.5577 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.3941, allocations: 1.01 MB / 0.5587 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003023/0.3972, allocations: 1.543 MB / 0.5602 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004183/0.4014, allocations: 1.817 MB / 0.562 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.4117, allocations: 5.802 MB / 0.5677 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4118, allocations: 4 kB / 0.5677 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4118, allocations: 0 / 0.5677 GB, free: 12.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002465/0.412, allocations: 0 / 0.5677 GB, free: 12.03 MB / 430.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.01054/0.4226, allocations: 4.109 MB / 0.5717 GB, free: 7.848 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4226, allocations: 12.03 kB / 0.5717 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00647/0.4291, allocations: 1.788 MB / 0.5734 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003791/0.4329, allocations: 1.925 MB / 0.5753 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.4331, allocations: 189.2 kB / 0.5755 GB, free: 3.871 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007532/0.4339, allocations: 267.8 kB / 0.5757 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01625/0.4501, allocations: 8.447 MB / 0.584 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001982/0.4504, allocations: 39.64 kB / 0.584 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001036/0.4514, allocations: 127.9 kB / 0.5842 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002998/0.4544, allocations: 1.695 MB / 0.5858 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01596/0.4704, allocations: 7.11 MB / 0.5928 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04328/0.5137, allocations: 34.08 MB / 0.626 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007802/0.5216, allocations: 3.296 MB / 0.6293 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.5239, allocations: 1.473 MB / 0.6307 GB, free: 9.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008544/0.5324, allocations: 4.461 MB / 0.635 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.4e-05/0.5325, allocations: 47.06 kB / 0.6351 GB, free: 4.766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 6.492e-06/0.5326, allocations: 0 / 0.6351 GB, free: 4.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.03056/0.5631, allocations: 11.75 MB / 0.6466 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.5633, allocations: 166.9 kB / 0.6467 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006559/0.5699, allocations: 3.726 MB / 0.6504 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003046/0.5702, allocations: 41.7 kB / 0.6504 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00251/0.5727, allocations: 2.866 MB / 0.6532 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008083/0.5735, allocations: 0.5467 MB / 0.6537 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001888/0.5754, allocations: 1.084 MB / 0.6548 GB, free: 392 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5756, allocations: 305.1 kB / 0.6551 GB, free: 84 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002753/0.5783, allocations: 1.713 MB / 0.6568 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005391/0.5837, allocations: 5.131 MB / 0.6618 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009166/0.5929, allocations: 7.425 MB / 0.669 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001726/0.5931, allocations: 32 kB / 0.6691 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01509/0.6082, allocations: 6.754 MB / 0.6756 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.6084, allocations: 59.94 kB / 0.6757 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/0.6086, allocations: 124 kB / 0.6758 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006719/0.6093, allocations: 316.7 kB / 0.6761 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004434/0.6137, allocations: 1.244 MB / 0.6773 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.6166, allocations: 2.502 MB / 0.6798 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004829/0.6215, allocations: 291.6 kB / 0.6801 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008749/0.6224, allocations: 339.9 kB / 0.6804 GB, free: 2.582 MB / 0.5294 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.003776/0.6262, allocations: 1.783 MB / 0.6821 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007786/0.6269, allocations: 325.8 kB / 0.6824 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004969/0.6319, allocations: 2.378 MB / 0.6848 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/0.632, allocations: 12 kB / 0.6848 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.632, allocations: 4 kB / 0.6848 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.632, allocations: 7.984 kB / 0.6848 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.6442, allocations: 5.914 MB / 0.6906 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.6443, allocations: 7.938 kB / 0.6906 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008399/0.6451, allocations: 171.7 kB / 0.6907 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/0.6477, allocations: 0.7186 MB / 0.6914 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.6479, allocations: 24 kB / 0.6915 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00609/0.654, allocations: 4.813 MB / 0.6962 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.654, allocations: 8 kB / 0.6962 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006884/0.6609, allocations: 4.347 MB / 0.7004 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009624/0.6619, allocations: 378.8 kB / 0.7008 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008633/0.6628, allocations: 16 kB / 0.7008 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/0.6645, allocations: 75.84 kB / 0.7009 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/0.6648, allocations: 80.5 kB / 0.7009 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.665, allocations: 39.84 kB / 0.701 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005525/0.6705, allocations: 2.319 MB / 0.7032 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6705, allocations: 0 / 0.7032 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00581/0.6763, allocations: 0.8046 MB / 0.704 GB, free: 10.09 MB / 0.5606 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.0006146/0.677, allocations: 143 kB / 0.7042 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006772/0.6838, allocations: 4.061 MB / 0.7081 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.6838, allocations: 0 / 0.7081 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.6855, allocations: 1.115 MB / 0.7092 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/0.6882, allocations: 402.9 kB / 0.7096 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.7029, allocations: 7.369 MB / 0.7168 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005202/0.7082, allocations: 2.781 MB / 0.7195 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004197/0.7124, allocations: 1.66 MB / 0.7211 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008533/0.7133, allocations: 211.4 kB / 0.7213 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of SimCode: time 1.463e-06/0.7133, allocations: 0 / 0.7213 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of Templates: time 0.3109/1.024, allocations: 27.82 MB / 0.7485 GB, free: 171.7 MB / 0.5762 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches