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.001902/0.001902, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.001979/0.001979, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 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.58/1.58, allocations: 177 MB / 204.5 MB, free: 5.637 MB / 186.7 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.382/0.382, allocations: 34.26 MB / 295.2 MB, free: 0.6406 MB / 266.7 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.192e-06/1.192e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.688e-05, allocations: 4.422 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01424/0.01427, allocations: 9.865 MB / 387.1 MB, free: 8.984 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008533/0.0228, allocations: 3.716 MB / 390.8 MB, free: 5.258 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.02406, allocations: 71.62 kB / 390.9 MB, free: 5.188 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004855/0.02892, allocations: 2.075 MB / 393 MB, free: 3.105 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004541/0.03346, allocations: 1.746 MB / 394.7 MB, free: 1.352 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.03506, allocations: 0.6625 MB / 395.4 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00554/0.0406, allocations: 3.752 MB / 399.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00407/0.04467, allocations: 2.45 MB / 401.6 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/0.04806, allocations: 1.914 MB / 403.5 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003239/0.0513, allocations: 1.855 MB / 405.3 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006904/0.05199, allocations: 264 kB / 405.6 MB, free: 6.391 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.05427, allocations: 0.975 MB / 406.6 MB, free: 5.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.05646, allocations: 1.679 MB / 408.2 MB, free: 3.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.05819, allocations: 1.032 MB / 409.3 MB, free: 2.695 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00813/0.06632, allocations: 5.832 MB / 415.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.06632, allocations: 0 / 415.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.06633, allocations: 0 / 415.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001854/0.06651, allocations: 0 / 415.1 MB, free: 12.84 MB / 394.7 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.009992/0.0765, allocations: 4.742 MB / 419.9 MB, free: 8.039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.07654, allocations: 12.03 kB / 419.9 MB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007721/0.08426, allocations: 2.187 MB / 422.1 MB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004571/0.08884, allocations: 1.73 MB / 423.8 MB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.08903, allocations: 193.2 kB / 424 MB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006537/0.08969, allocations: 264.2 kB / 424.2 MB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.1033, allocations: 5.672 MB / 429.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/0.1034, allocations: 43.64 kB / 429.9 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003849/0.1038, allocations: 123.9 kB / 430.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003281/0.107, allocations: 1.691 MB / 431.8 MB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.1172, allocations: 3.045 MB / 434.8 MB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.185/0.3022, allocations: 41.71 MB / 476.5 MB, free: 62.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00577/0.308, allocations: 1.674 MB / 478.2 MB, free: 62.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/0.309, allocations: 0.5076 MB / 478.7 MB, free: 61.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006515/0.3155, allocations: 3.234 MB / 481.9 MB, free: 60.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.3155, allocations: 51.95 kB / 482 MB, free: 60.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 4.127e-06/0.3155, allocations: 0 / 482 MB, free: 60.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.02543/0.3409, allocations: 8.63 MB / 490.6 MB, free: 56.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.341, allocations: 174.9 kB / 490.8 MB, free: 56.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004829/0.3458, allocations: 3.975 MB / 494.8 MB, free: 55.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.3461, allocations: 40.73 kB / 494.8 MB, free: 55.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.3475, allocations: 3.196 MB / 498 MB, free: 52.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005201/0.348, allocations: 0.5913 MB / 498.6 MB, free: 52.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00144/0.3495, allocations: 1.358 MB / 499.9 MB, free: 51.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.3495, allocations: 485.1 kB / 0.4887 GB, free: 51.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.3509, allocations: 0.6055 MB / 0.4893 GB, free: 50.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003276/0.3542, allocations: 5.879 MB / 0.495 GB, free: 43.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005323/0.3595, allocations: 7.108 MB / 0.502 GB, free: 35.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/0.3596, allocations: 41.47 kB / 0.502 GB, free: 35.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008575/0.3682, allocations: 4.772 MB / 0.5067 GB, free: 34.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.884e-05/0.3683, allocations: 60.31 kB / 0.5067 GB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/0.3684, allocations: 125.9 kB / 0.5068 GB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00072/0.3691, allocations: 340.9 kB / 0.5072 GB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003179/0.3723, allocations: 1.243 MB / 0.5084 GB, free: 33.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.374, allocations: 2.474 MB / 0.5108 GB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/0.3773, allocations: 315.1 kB / 0.5111 GB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003717/0.3777, allocations: 343.5 kB / 0.5114 GB, free: 31.57 MB / 410.7 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.001167/0.3788, allocations: 0.6888 MB / 0.5121 GB, free: 31.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004391/0.3793, allocations: 322.9 kB / 0.5124 GB, free: 30.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/0.3824, allocations: 1.356 MB / 0.5137 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.3824, allocations: 14.34 kB / 0.5137 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.3824, allocations: 3.594 kB / 0.5137 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.3824, allocations: 10.45 kB / 0.5137 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008879/0.3913, allocations: 4.981 MB / 0.5186 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3913, allocations: 0 / 0.5186 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007126/0.392, allocations: 176.1 kB / 0.5188 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/0.3938, allocations: 452.2 kB / 0.5192 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.928e-05/0.3938, allocations: 21.5 kB / 0.5192 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/0.3973, allocations: 3.024 MB / 0.5222 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3973, allocations: 8.625 kB / 0.5222 GB, free: 24.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/0.4015, allocations: 2.405 MB / 0.5245 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007231/0.4023, allocations: 280.2 kB / 0.5248 GB, free: 22.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.4025, allocations: 17.27 kB / 0.5248 GB, free: 22.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.4036, allocations: 98.48 kB / 0.5249 GB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.4038, allocations: 74.44 kB / 0.525 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.558e-05/0.4039, allocations: 37.39 kB / 0.525 GB, free: 22.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002192/0.4061, allocations: 1.611 MB / 0.5266 GB, free: 20.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4061, allocations: 0 / 0.5266 GB, free: 20.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00426/0.4104, allocations: 0.8724 MB / 0.5275 GB, free: 20.12 MB / 410.7 MB 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.0003502/0.4107, allocations: 160.6 kB / 0.5276 GB, free: 19.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004662/0.4154, allocations: 2.834 MB / 0.5304 GB, free: 17.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.4154, allocations: 0 / 0.5304 GB, free: 17.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.4164, allocations: 0.6771 MB / 0.531 GB, free: 16.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.4185, allocations: 351.4 kB / 0.5314 GB, free: 16.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009002/0.4275, allocations: 6.031 MB / 0.5373 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/0.4294, allocations: 2.026 MB / 0.5392 GB, free: 9.434 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00278/0.4321, allocations: 1.396 MB / 0.5406 GB, free: 8.637 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/0.4328, allocations: 199.2 kB / 0.5408 GB, free: 8.449 MB / 410.7 MB Notification: Performance of SimCode: time 2.054e-06/0.4328, allocations: 0 / 0.5408 GB, free: 8.449 MB / 410.7 MB Notification: Performance of Templates: time 0.05225/0.485, allocations: 25.8 MB / 0.566 GB, free: 15.41 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] 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.702627015998587]