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.001466/0.001466, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.12 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 79.67 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1375, allocations: 62.44 MB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03889/0.1765, allocations: 34.51 MB / 0.5018 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2328/0.4094, allocations: 7.813 MB / 0.5094 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006416/0.4158, allocations: 148.2 kB / 0.5095 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004079/0.42, allocations: 1.913 MB / 0.5114 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.424, allocations: 1.525 MB / 0.5129 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.4255, allocations: 0.5513 MB / 0.5134 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006093/0.4317, allocations: 4.766 MB / 0.5181 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003641/0.4353, allocations: 2.538 MB / 0.5206 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/0.4375, allocations: 1.089 MB / 0.5216 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.4398, allocations: 1.794 MB / 0.5234 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000599/0.4404, allocations: 175.7 kB / 0.5235 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.4426, allocations: 0.9921 MB / 0.5245 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.4438, allocations: 1.501 MB / 0.526 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.4453, allocations: 1.745 MB / 0.5277 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005424/0.4508, allocations: 5.528 MB / 0.5331 GB, free: 2.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4508, allocations: 0 / 0.5331 GB, free: 2.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4508, allocations: 0 / 0.5331 GB, free: 2.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001807/0.451, allocations: 0 / 0.5331 GB, free: 2.551 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.008003/0.459, allocations: 4.019 MB / 0.537 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4591, allocations: 11.06 kB / 0.537 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005895/0.465, allocations: 1.771 MB / 0.5387 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/0.4684, allocations: 1.872 MB / 0.5406 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.4685, allocations: 193.6 kB / 0.5408 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004758/0.469, allocations: 254.7 kB / 0.541 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.483, allocations: 8.457 MB / 0.5493 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.4831, allocations: 47.58 kB / 0.5493 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003777/0.4835, allocations: 127.6 kB / 0.5494 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002645/0.4861, allocations: 1.693 MB / 0.5511 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01307/0.4992, allocations: 7.121 MB / 0.558 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04423/0.5435, allocations: 34.14 MB / 0.5914 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008052/0.5516, allocations: 3.293 MB / 0.5946 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.5537, allocations: 1.466 MB / 0.596 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006805/0.5605, allocations: 4.444 MB / 0.6004 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.5606, allocations: 47.06 kB / 0.6004 GB, free: 15.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 3.516e-06/0.5606, allocations: 0 / 0.6004 GB, free: 15.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.03071/0.5913, allocations: 11.56 MB / 0.6117 GB, free: 3.656 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/0.5914, allocations: 170.8 kB / 0.6119 GB, free: 3.453 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005763/0.5972, allocations: 3.706 MB / 0.6155 GB, free: 15.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002213/0.5974, allocations: 45.64 kB / 0.6155 GB, free: 15.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001992/0.5994, allocations: 2.753 MB / 0.6182 GB, free: 12.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007708/0.6002, allocations: 0.5231 MB / 0.6187 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002663/0.6029, allocations: 1.081 MB / 0.6198 GB, free: 11.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6031, allocations: 309.1 kB / 0.6201 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/0.6062, allocations: 1.705 MB / 0.6217 GB, free: 9.328 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005991/0.6122, allocations: 5.135 MB / 0.6268 GB, free: 2.465 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/0.6223, allocations: 7.423 MB / 0.634 GB, free: 9.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000163/0.6225, allocations: 36 kB / 0.634 GB, free: 9.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01577/0.6383, allocations: 6.727 MB / 0.6406 GB, free: 2.562 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.6385, allocations: 56 kB / 0.6407 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001725/0.6387, allocations: 120 kB / 0.6408 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/0.6393, allocations: 328.5 kB / 0.6411 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003906/0.6432, allocations: 1.248 MB / 0.6423 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.6457, allocations: 2.288 MB / 0.6445 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/0.6494, allocations: 291.6 kB / 0.6448 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007239/0.6501, allocations: 340 kB / 0.6451 GB, free: 13.78 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.003048/0.6532, allocations: 1.787 MB / 0.6469 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006304/0.6538, allocations: 308 kB / 0.6472 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004809/0.6586, allocations: 2.37 MB / 0.6495 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/0.6587, allocations: 12 kB / 0.6495 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.6587, allocations: 7.938 kB / 0.6495 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.6587, allocations: 11.97 kB / 0.6495 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.6717, allocations: 5.934 MB / 0.6553 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.6717, allocations: 4 kB / 0.6553 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008305/0.6725, allocations: 175.7 kB / 0.6555 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/0.6748, allocations: 0.7165 MB / 0.6562 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.675, allocations: 23.98 kB / 0.6562 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006181/0.6812, allocations: 4.461 MB / 0.6606 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6812, allocations: 4.031 kB / 0.6606 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00687/0.6881, allocations: 4.343 MB / 0.6648 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009748/0.6891, allocations: 361 kB / 0.6652 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006518/0.6897, allocations: 26.41 kB / 0.6652 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.6912, allocations: 71.89 kB / 0.6653 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.6914, allocations: 64.52 kB / 0.6653 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6915, allocations: 39.98 kB / 0.6654 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004792/0.6963, allocations: 2.315 MB / 0.6676 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6963, allocations: 0 / 0.6676 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004895/0.7012, allocations: 0.8079 MB / 0.6684 GB, free: 5.715 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.0005003/0.7018, allocations: 155.6 kB / 0.6685 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007207/0.709, allocations: 4.046 MB / 0.6725 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.709, allocations: 1.375 kB / 0.6725 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.7107, allocations: 1.114 MB / 0.6736 GB, free: 408 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/0.7142, allocations: 368.8 kB / 0.6739 GB, free: 36 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.7296, allocations: 8.957 MB / 0.6827 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00392/0.7335, allocations: 2.777 MB / 0.6854 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004722/0.7383, allocations: 1.652 MB / 0.687 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009212/0.7392, allocations: 215.4 kB / 0.6872 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.7392, allocations: 0 / 0.6872 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of Templates: time 0.2827/1.022, allocations: 29.73 MB / 0.7163 GB, free: 191.5 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/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