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.001398/0.001398, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3551, allocations: 62.43 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01158/0.3667, allocations: 10.24 MB / 0.541 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008851/0.3756, allocations: 3.798 MB / 0.5447 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.378, allocations: 57.91 kB / 0.5448 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004104/0.3822, allocations: 1.939 MB / 0.5466 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006093/0.3883, allocations: 1.62 MB / 0.5482 GB, free: 188 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.3905, allocations: 0.6246 MB / 0.5488 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007881/0.3984, allocations: 3.372 MB / 0.5521 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005406/0.4039, allocations: 2.572 MB / 0.5546 GB, free: 9.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00294/0.4069, allocations: 1.23 MB / 0.5558 GB, free: 8.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003038/0.4099, allocations: 1.67 MB / 0.5575 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009339/0.4109, allocations: 252 kB / 0.5577 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.4138, allocations: 1.018 MB / 0.5587 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002175/0.416, allocations: 1.543 MB / 0.5602 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003036/0.4191, allocations: 1.817 MB / 0.562 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009369/0.4285, allocations: 5.805 MB / 0.5677 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4285, allocations: 0 / 0.5677 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4285, allocations: 0 / 0.5677 GB, free: 12.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002818/0.4288, allocations: 0 / 0.5677 GB, free: 12.16 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.01044/0.4392, allocations: 4.109 MB / 0.5717 GB, free: 7.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4393, allocations: 11.97 kB / 0.5717 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006246/0.4456, allocations: 1.8 MB / 0.5734 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/0.4494, allocations: 1.929 MB / 0.5753 GB, free: 4.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.4495, allocations: 185.2 kB / 0.5755 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006013/0.4502, allocations: 259.8 kB / 0.5757 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.466, allocations: 8.444 MB / 0.584 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/0.4661, allocations: 43.64 kB / 0.584 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003807/0.4665, allocations: 123.9 kB / 0.5842 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003095/0.4696, allocations: 1.695 MB / 0.5858 GB, free: 8.762 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/0.4836, allocations: 7.11 MB / 0.5928 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03899/0.5226, allocations: 34.08 MB / 0.626 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007314/0.53, allocations: 3.3 MB / 0.6293 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.532, allocations: 1.451 MB / 0.6307 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00697/0.539, allocations: 4.465 MB / 0.635 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.539, allocations: 43.12 kB / 0.6351 GB, free: 4.906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 3.828e-06/0.5391, allocations: 0 / 0.6351 GB, free: 4.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.03009/0.5691, allocations: 11.75 MB / 0.6465 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.943e-05/0.5693, allocations: 174.9 kB / 0.6467 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006737/0.576, allocations: 3.722 MB / 0.6504 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002527/0.5763, allocations: 49.98 kB / 0.6504 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002194/0.5785, allocations: 2.858 MB / 0.6532 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004941/0.579, allocations: 0.5468 MB / 0.6537 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.5803, allocations: 1.088 MB / 0.6548 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5804, allocations: 305.1 kB / 0.6551 GB, free: 220 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/0.5828, allocations: 1.712 MB / 0.6567 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004701/0.5875, allocations: 5.128 MB / 0.6618 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008167/0.5957, allocations: 7.432 MB / 0.669 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.07e-05/0.5958, allocations: 32 kB / 0.669 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01118/0.607, allocations: 6.748 MB / 0.6756 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.889e-05/0.6071, allocations: 65.81 kB / 0.6757 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002947/0.6074, allocations: 120 kB / 0.6758 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/0.6081, allocations: 317 kB / 0.6761 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003839/0.6119, allocations: 1.248 MB / 0.6773 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.6148, allocations: 2.494 MB / 0.6798 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003882/0.6188, allocations: 291.6 kB / 0.68 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007743/0.6195, allocations: 340 kB / 0.6804 GB, free: 2.719 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.003248/0.6228, allocations: 1.791 MB / 0.6821 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007741/0.6236, allocations: 325.8 kB / 0.6824 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00494/0.6285, allocations: 2.37 MB / 0.6847 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/0.6286, allocations: 12 kB / 0.6848 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.6286, allocations: 4 kB / 0.6848 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.6286, allocations: 7.984 kB / 0.6848 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.6393, allocations: 5.922 MB / 0.6906 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.6394, allocations: 0 / 0.6906 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.6402, allocations: 175.8 kB / 0.6907 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002079/0.6422, allocations: 0.7146 MB / 0.6914 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.311e-05/0.6424, allocations: 24 kB / 0.6914 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00591/0.6483, allocations: 4.825 MB / 0.6962 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6483, allocations: 0 / 0.6962 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006867/0.6552, allocations: 4.35 MB / 0.7004 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.6563, allocations: 378.8 kB / 0.7008 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007701/0.6571, allocations: 20 kB / 0.7008 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.6586, allocations: 75.83 kB / 0.7009 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.6589, allocations: 72.62 kB / 0.7009 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.659, allocations: 35.98 kB / 0.701 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004737/0.6637, allocations: 2.319 MB / 0.7032 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6637, allocations: 0 / 0.7032 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005375/0.6691, allocations: 0.8046 MB / 0.704 GB, free: 10.22 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.0004294/0.6696, allocations: 150.9 kB / 0.7041 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006295/0.6759, allocations: 4.067 MB / 0.7081 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6759, allocations: 0 / 0.7081 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.6774, allocations: 1.111 MB / 0.7092 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.6798, allocations: 402.6 kB / 0.7096 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.6933, allocations: 7.369 MB / 0.7168 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/0.6962, allocations: 2.777 MB / 0.7195 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003729/0.7, allocations: 1.664 MB / 0.7211 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007181/0.7007, allocations: 211.4 kB / 0.7213 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of SimCode: time 1.352e-06/0.7007, allocations: 0 / 0.7213 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.3002/1.001, allocations: 27.82 MB / 0.7485 GB, free: 172 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