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.001548/0.001548, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001747/0.001747, allocations: 164.6 kB / 24.5 MB, free: 3.453 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.445/1.445, allocations: 177.1 MB / 204.7 MB, free: 9.008 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.2154/0.2154, allocations: 34.27 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002414/0.002414, allocations: 79.88 kB / 443.1 MB, free: 6.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3394, allocations: 66.06 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01069/0.3501, allocations: 9.042 MB / 0.5061 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008062/0.3582, allocations: 3.598 MB / 0.5096 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.3605, allocations: 72.09 kB / 0.5097 GB, free: 21.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00354/0.364, allocations: 1.896 MB / 0.5115 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005168/0.3692, allocations: 1.687 MB / 0.5132 GB, free: 20.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.371, allocations: 0.6098 MB / 0.5138 GB, free: 19.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005612/0.3766, allocations: 3.365 MB / 0.5171 GB, free: 18.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002924/0.3795, allocations: 2.115 MB / 0.5191 GB, free: 17.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.382, allocations: 1.254 MB / 0.5204 GB, free: 17.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003559/0.3855, allocations: 1.721 MB / 0.522 GB, free: 16.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008609/0.3864, allocations: 254 kB / 0.5223 GB, free: 16.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.389, allocations: 0.9227 MB / 0.5232 GB, free: 16.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.3911, allocations: 1.6 MB / 0.5247 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002814/0.3939, allocations: 1.327 MB / 0.526 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009743/0.4037, allocations: 5.833 MB / 0.5317 GB, free: 12.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4037, allocations: 0 / 0.5317 GB, free: 12.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4037, allocations: 0 / 0.5317 GB, free: 12.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002604/0.4039, allocations: 1.219 kB / 0.5317 GB, free: 12.37 MB / 446.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.01216/0.4161, allocations: 4.024 MB / 0.5357 GB, free: 9.527 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4161, allocations: 9.281 kB / 0.5357 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006843/0.423, allocations: 1.845 MB / 0.5375 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00608/0.4291, allocations: 1.874 MB / 0.5393 GB, free: 7.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.4292, allocations: 189.8 kB / 0.5395 GB, free: 7.262 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008735/0.4301, allocations: 261.2 kB / 0.5397 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/0.4456, allocations: 8.5 MB / 0.548 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.4457, allocations: 47.62 kB / 0.5481 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003362/0.446, allocations: 123.9 kB / 0.5482 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002984/0.449, allocations: 1.695 MB / 0.5499 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/0.4639, allocations: 7.086 MB / 0.5568 GB, free: 7.785 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0434/0.5073, allocations: 32.14 MB / 0.5882 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007862/0.5151, allocations: 2.821 MB / 0.5909 GB, free: 3.785 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00216/0.5173, allocations: 1.365 MB / 0.5922 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00687/0.5242, allocations: 3.337 MB / 0.5955 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.5242, allocations: 47.22 kB / 0.5956 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.047e-06/0.5242, allocations: 0 / 0.5956 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03102/0.5552, allocations: 11.8 MB / 0.6071 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.5554, allocations: 170.9 kB / 0.6072 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005351/0.5607, allocations: 3.423 MB / 0.6106 GB, free: 15.46 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002787/0.561, allocations: 41.7 kB / 0.6106 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002316/0.5633, allocations: 2.886 MB / 0.6134 GB, free: 12.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007244/0.564, allocations: 0.5428 MB / 0.614 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/0.5655, allocations: 1.088 MB / 0.615 GB, free: 10.86 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5657, allocations: 305.1 kB / 0.6153 GB, free: 10.55 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002659/0.5683, allocations: 1.72 MB / 0.617 GB, free: 8.828 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005397/0.5737, allocations: 5.156 MB / 0.622 GB, free: 1.938 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009198/0.5829, allocations: 7.422 MB / 0.6293 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.902e-05/0.583, allocations: 36 kB / 0.6293 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01189/0.5949, allocations: 6.711 MB / 0.6359 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.443e-05/0.595, allocations: 63.98 kB / 0.6359 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.5951, allocations: 120 kB / 0.6361 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006499/0.5958, allocations: 325.3 kB / 0.6364 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0038/0.5996, allocations: 1.248 MB / 0.6376 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.6024, allocations: 2.356 MB / 0.6399 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004091/0.6065, allocations: 295.6 kB / 0.6402 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000596/0.6071, allocations: 332 kB / 0.6405 GB, free: 13.23 MB / 0.545 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.003472/0.6106, allocations: 1.787 MB / 0.6422 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006753/0.6112, allocations: 286.1 kB / 0.6425 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005488/0.6167, allocations: 2.32 MB / 0.6448 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/0.6168, allocations: 19.94 kB / 0.6448 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.6168, allocations: 4 kB / 0.6448 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.6168, allocations: 8.453 kB / 0.6448 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.629, allocations: 5.113 MB / 0.6498 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/0.6291, allocations: 8.109 kB / 0.6498 GB, free: 3.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000925/0.63, allocations: 171.8 kB / 0.65 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/0.6325, allocations: 0.7108 MB / 0.6507 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.6327, allocations: 27.94 kB / 0.6507 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007184/0.6399, allocations: 4.648 MB / 0.6552 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.6399, allocations: 4 kB / 0.6552 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007966/0.6478, allocations: 4.317 MB / 0.6594 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.649, allocations: 250 kB / 0.6597 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/0.6493, allocations: 20 kB / 0.6597 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.6504, allocations: 75.88 kB / 0.6598 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.6507, allocations: 68.47 kB / 0.6598 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.6508, allocations: 39.98 kB / 0.6599 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003593/0.6544, allocations: 1.963 MB / 0.6618 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6544, allocations: 0 / 0.6618 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005421/0.6598, allocations: 0.7929 MB / 0.6626 GB, free: 6.387 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.0004385/0.6602, allocations: 155 kB / 0.6627 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00807/0.6683, allocations: 3.911 MB / 0.6665 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.6683, allocations: 0 / 0.6665 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.6703, allocations: 1.034 MB / 0.6675 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/0.6732, allocations: 345.7 kB / 0.6679 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.6879, allocations: 7.379 MB / 0.6751 GB, free: 9.527 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003273/0.6912, allocations: 2.244 MB / 0.6773 GB, free: 7.258 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003794/0.695, allocations: 1.607 MB / 0.6788 GB, free: 5.645 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006773/0.6956, allocations: 192.5 kB / 0.679 GB, free: 5.453 MB / 0.5763 GB Notification: Performance of SimCode: time 9.51e-07/0.6956, allocations: 4 kB / 0.679 GB, free: 5.449 MB / 0.5763 GB Notification: Performance of Templates: time 0.3098/1.005, allocations: 24.4 MB / 0.7029 GB, free: 166.8 MB / 0.5919 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.887055402970873]