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.001454/0.001454, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001815, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3384, allocations: 62.45 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01152/0.3499, allocations: 10.23 MB / 0.5417 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008516/0.3585, allocations: 3.794 MB / 0.5454 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002248/0.3608, allocations: 58.84 kB / 0.5454 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004447/0.3652, allocations: 1.938 MB / 0.5473 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004988/0.3703, allocations: 1.629 MB / 0.5489 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.3721, allocations: 0.6121 MB / 0.5495 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005313/0.3775, allocations: 3.368 MB / 0.5528 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00353/0.381, allocations: 2.587 MB / 0.5553 GB, free: 9.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.3835, allocations: 1.23 MB / 0.5565 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.3864, allocations: 1.659 MB / 0.5581 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009993/0.3874, allocations: 252 kB / 0.5584 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.39, allocations: 1.03 MB / 0.5594 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001947/0.3919, allocations: 1.562 MB / 0.5609 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00304/0.395, allocations: 1.813 MB / 0.5627 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007453/0.4025, allocations: 5.783 MB / 0.5683 GB, free: 11.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4025, allocations: 0 / 0.5683 GB, free: 11.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4025, allocations: 0 / 0.5683 GB, free: 11.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002058/0.4027, allocations: 0 / 0.5683 GB, free: 11.99 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.009256/0.412, allocations: 3.995 MB / 0.5722 GB, free: 7.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4121, allocations: 12.03 kB / 0.5722 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006757/0.4188, allocations: 1.77 MB / 0.574 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004127/0.423, allocations: 1.92 MB / 0.5758 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.4232, allocations: 189.2 kB / 0.576 GB, free: 3.969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009411/0.4242, allocations: 259.7 kB / 0.5763 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.442, allocations: 8.451 MB / 0.5845 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000223/0.4423, allocations: 39.59 kB / 0.5846 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/0.4435, allocations: 123.9 kB / 0.5847 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004575/0.4481, allocations: 1.699 MB / 0.5863 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/0.4677, allocations: 7.114 MB / 0.5933 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04984/0.5176, allocations: 34.01 MB / 0.6265 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007968/0.5257, allocations: 3.292 MB / 0.6297 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/0.5281, allocations: 1.466 MB / 0.6312 GB, free: 9.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007229/0.5353, allocations: 4.444 MB / 0.6355 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.5354, allocations: 51.12 kB / 0.6355 GB, free: 4.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 6.712e-06/0.5354, allocations: 0 / 0.6355 GB, free: 4.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.02899/0.5644, allocations: 11.55 MB / 0.6468 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.5646, allocations: 174.8 kB / 0.647 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005588/0.5701, allocations: 3.713 MB / 0.6506 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.5704, allocations: 41.7 kB / 0.6507 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/0.5724, allocations: 2.748 MB / 0.6533 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006232/0.573, allocations: 0.5209 MB / 0.6538 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/0.5747, allocations: 1.079 MB / 0.6549 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5748, allocations: 305.1 kB / 0.6552 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002566/0.5773, allocations: 1.716 MB / 0.6569 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004861/0.5822, allocations: 5.131 MB / 0.6619 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008378/0.5906, allocations: 7.428 MB / 0.6691 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.5908, allocations: 36 kB / 0.6692 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01208/0.6029, allocations: 6.725 MB / 0.6757 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.603, allocations: 60.12 kB / 0.6758 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001725/0.6032, allocations: 120 kB / 0.6759 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006568/0.6039, allocations: 325.4 kB / 0.6762 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/0.6077, allocations: 1.252 MB / 0.6774 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002781/0.6105, allocations: 2.497 MB / 0.6799 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003703/0.6143, allocations: 295.5 kB / 0.6802 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007923/0.6151, allocations: 332 kB / 0.6805 GB, free: 3.078 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.003308/0.6184, allocations: 1.787 MB / 0.6822 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006895/0.6191, allocations: 316 kB / 0.6825 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/0.6241, allocations: 2.371 MB / 0.6848 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/0.6242, allocations: 16 kB / 0.6849 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.6242, allocations: 4 kB / 0.6849 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.6242, allocations: 7.984 kB / 0.6849 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.6362, allocations: 5.91 MB / 0.6906 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.6362, allocations: 0 / 0.6906 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008812/0.6371, allocations: 175.7 kB / 0.6908 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002217/0.6394, allocations: 0.7224 MB / 0.6915 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.6395, allocations: 20 kB / 0.6915 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006064/0.6456, allocations: 4.813 MB / 0.6962 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.6456, allocations: 4 kB / 0.6962 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007055/0.6527, allocations: 4.337 MB / 0.7005 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008692/0.6536, allocations: 365 kB / 0.7008 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006327/0.6543, allocations: 24 kB / 0.7008 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.6557, allocations: 71.84 kB / 0.7009 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.6559, allocations: 64.56 kB / 0.701 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.6561, allocations: 43.92 kB / 0.701 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004354/0.6604, allocations: 2.319 MB / 0.7033 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.804e-06/0.6604, allocations: 0 / 0.7033 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00476/0.6652, allocations: 0.8046 MB / 0.7041 GB, free: 10.63 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.0005298/0.6658, allocations: 151 kB / 0.7042 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006781/0.6726, allocations: 4.058 MB / 0.7082 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.6726, allocations: 0 / 0.7082 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.6743, allocations: 1.112 MB / 0.7093 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.677, allocations: 393.6 kB / 0.7096 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.6912, allocations: 7.638 MB / 0.7171 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004069/0.6953, allocations: 2.781 MB / 0.7198 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009282/0.6963, allocations: 247.4 kB / 0.72 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of SimCode: time 1.563e-06/0.6963, allocations: 0 / 0.72 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of Templates: time 0.3281/1.024, allocations: 64.32 MB / 0.7829 GB, free: 135.2 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/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