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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001777/0.001777, allocations: 91.02 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002009/0.002009, allocations: 159 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 34.25 MB / 294.8 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 442.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.419e-05, allocations: 4.672 kB / 442.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2159/0.2159, allocations: 9.016 MB / 451.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007157/0.2231, allocations: 3.621 MB / 455.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.2244, allocations: 66.84 kB / 455.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003882/0.2282, allocations: 1.993 MB / 457.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.2322, allocations: 1.735 MB / 459.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.2338, allocations: 0.6631 MB / 459.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005298/0.2391, allocations: 3.753 MB / 463.5 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004253/0.2434, allocations: 2.375 MB / 465.9 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004843/0.2482, allocations: 1.9 MB / 467.8 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003296/0.2515, allocations: 1.816 MB / 469.6 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000785/0.2523, allocations: 260.1 kB / 469.9 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.2548, allocations: 0.9681 MB / 470.8 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001718/0.2565, allocations: 1.664 MB / 472.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.2581, allocations: 1.033 MB / 473.5 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008573/0.2666, allocations: 5.822 MB / 479.3 MB, free: 428 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2667, allocations: 0 / 479.3 MB, free: 428 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2667, allocations: 0 / 479.3 MB, free: 428 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002025/0.2669, allocations: 0 / 479.3 MB, free: 428 kB / 366.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.0108/0.2777, allocations: 4.049 MB / 483.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2777, allocations: 8.031 kB / 483.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007204/0.2849, allocations: 1.843 MB / 485.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/0.2892, allocations: 1.856 MB / 487.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.2893, allocations: 193.2 kB / 487.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000564/0.2899, allocations: 248.2 kB / 487.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.3052, allocations: 8.506 MB / 496 MB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.3053, allocations: 43.64 kB / 496.1 MB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003693/0.3057, allocations: 127.9 kB / 496.2 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003155/0.3088, allocations: 1.699 MB / 497.9 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.3239, allocations: 7.083 MB / 0.4932 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04565/0.3695, allocations: 32.22 MB / 0.5246 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00804/0.3775, allocations: 2.837 MB / 0.5274 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.3796, allocations: 1.357 MB / 0.5287 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007279/0.3869, allocations: 3.459 MB / 0.5321 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.3869, allocations: 47.2 kB / 0.5321 GB, free: 13.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.028e-06/0.3869, allocations: 0 / 0.5321 GB, free: 13.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03214/0.4191, allocations: 11.89 MB / 0.5437 GB, free: 1.801 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.4192, allocations: 166.9 kB / 0.5439 GB, free: 1.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005367/0.4246, allocations: 3.517 MB / 0.5473 GB, free: 14.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.4248, allocations: 41.7 kB / 0.5474 GB, free: 14.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.427, allocations: 2.848 MB / 0.5502 GB, free: 11.15 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006897/0.4277, allocations: 0.5351 MB / 0.5507 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/0.4292, allocations: 1.068 MB / 0.5517 GB, free: 9.531 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4293, allocations: 301.1 kB / 0.552 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002622/0.4319, allocations: 1.713 MB / 0.5537 GB, free: 7.516 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005781/0.4377, allocations: 5.164 MB / 0.5587 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009518/0.4472, allocations: 7.423 MB / 0.566 GB, free: 7.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.391e-05/0.4473, allocations: 32 kB / 0.566 GB, free: 7.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0119/0.4592, allocations: 6.712 MB / 0.5726 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.159e-05/0.4593, allocations: 56 kB / 0.5726 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/0.4594, allocations: 131.9 kB / 0.5727 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006577/0.4601, allocations: 313.1 kB / 0.573 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/0.4639, allocations: 1.252 MB / 0.5743 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.4667, allocations: 2.355 MB / 0.5766 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003626/0.4703, allocations: 331.5 kB / 0.5769 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004992/0.4708, allocations: 336 kB / 0.5772 GB, free: 11.88 MB / 494.1 MB 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.003353/0.4742, allocations: 1.787 MB / 0.5789 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007694/0.4749, allocations: 282.1 kB / 0.5792 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005148/0.4801, allocations: 2.332 MB / 0.5815 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/0.4801, allocations: 16 kB / 0.5815 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.4801, allocations: 4 kB / 0.5815 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.4801, allocations: 3.984 kB / 0.5815 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.4923, allocations: 5.168 MB / 0.5866 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.4923, allocations: 4.125 kB / 0.5866 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009821/0.4933, allocations: 183.7 kB / 0.5867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002682/0.496, allocations: 0.713 MB / 0.5874 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/0.4962, allocations: 27.98 kB / 0.5875 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007172/0.5034, allocations: 4.697 MB / 0.592 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.5034, allocations: 4 kB / 0.5921 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008281/0.5116, allocations: 4.304 MB / 0.5963 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.5128, allocations: 281.9 kB / 0.5965 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007294/0.5135, allocations: 24.11 kB / 0.5965 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/0.5154, allocations: 99.84 kB / 0.5966 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/0.5157, allocations: 76.47 kB / 0.5967 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.5158, allocations: 35.97 kB / 0.5968 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004582/0.5204, allocations: 2.03 MB / 0.5987 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5204, allocations: 3.938 kB / 0.5987 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004801/0.5252, allocations: 0.871 MB / 0.5996 GB, free: 4.734 MB / 0.4981 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.0005581/0.5258, allocations: 162.2 kB / 0.5997 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00709/0.5329, allocations: 3.905 MB / 0.6036 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5329, allocations: 0 / 0.6036 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.5345, allocations: 1.041 MB / 0.6046 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/0.537, allocations: 342.4 kB / 0.6049 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.5515, allocations: 7.308 MB / 0.612 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003004/0.5545, allocations: 2.232 MB / 0.6142 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003758/0.5582, allocations: 1.615 MB / 0.6158 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006302/0.5588, allocations: 196.5 kB / 0.616 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of SimCode: time 1.172e-06/0.5588, allocations: 0 / 0.616 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of Templates: time 0.2932/0.852, allocations: 25.63 MB / 0.641 GB, free: 169.4 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.88401248678565]