Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 79.27 kB / 20.52 MB, free: 1.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 163 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2268/0.2268, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 68.47 kB / 407.8 MB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1368, allocations: 61.04 MB / 468.8 MB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.3261/0.4629, allocations: 9.053 MB / 477.9 MB, free: 43.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007519/0.4705, allocations: 3.599 MB / 481.5 MB, free: 43.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.4719, allocations: 73.88 kB / 481.5 MB, free: 43.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003479/0.4754, allocations: 1.904 MB / 483.4 MB, free: 43.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.4806, allocations: 1.709 MB / 485.1 MB, free: 42.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.4821, allocations: 0.6219 MB / 485.8 MB, free: 42.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004165/0.4863, allocations: 3.345 MB / 489.1 MB, free: 41.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.4888, allocations: 2.118 MB / 491.2 MB, free: 40.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.4908, allocations: 1.275 MB / 492.5 MB, free: 40.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003004/0.4938, allocations: 1.726 MB / 494.2 MB, free: 39.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006909/0.4945, allocations: 252.4 kB / 494.5 MB, free: 39.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.4965, allocations: 0.9441 MB / 495.4 MB, free: 39.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.4977, allocations: 1.612 MB / 497 MB, free: 38.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.4991, allocations: 1.356 MB / 498.4 MB, free: 37.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006408/0.5055, allocations: 5.87 MB / 0.4924 GB, free: 35.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.5055, allocations: 3.094 kB / 0.4924 GB, free: 35.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.5056, allocations: 0.5625 kB / 0.4924 GB, free: 35.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001948/0.5057, allocations: 0 / 0.4924 GB, free: 35.66 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.008674/0.5144, allocations: 4.059 MB / 0.4964 GB, free: 33.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.5145, allocations: 9.438 kB / 0.4964 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007338/0.5218, allocations: 1.835 MB / 0.4982 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007063/0.5289, allocations: 1.959 MB / 0.5001 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.5291, allocations: 189.2 kB / 0.5003 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007258/0.5298, allocations: 257.4 kB / 0.5005 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01754/0.5473, allocations: 8.484 MB / 0.5088 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.5475, allocations: 43.11 kB / 0.5089 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000402/0.5479, allocations: 122.6 kB / 0.509 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003112/0.551, allocations: 1.698 MB / 0.5106 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.5656, allocations: 7.075 MB / 0.5176 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03486/0.6004, allocations: 32.16 MB / 0.549 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007788/0.6082, allocations: 2.825 MB / 0.5517 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/0.6104, allocations: 1.369 MB / 0.5531 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007325/0.6177, allocations: 3.317 MB / 0.5563 GB, free: 2.555 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.6178, allocations: 43.22 kB / 0.5563 GB, free: 2.504 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 3.517e-06/0.6178, allocations: 0 / 0.5563 GB, free: 2.504 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.02983/0.6476, allocations: 11.79 MB / 0.5678 GB, free: 6.641 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.6477, allocations: 178.8 kB / 0.568 GB, free: 6.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004689/0.6524, allocations: 3.444 MB / 0.5714 GB, free: 2.973 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.6526, allocations: 41.7 kB / 0.5714 GB, free: 2.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002163/0.6548, allocations: 2.89 MB / 0.5742 GB, free: 8 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006419/0.6554, allocations: 0.5431 MB / 0.5748 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.6568, allocations: 1.088 MB / 0.5758 GB, free: 14.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.657, allocations: 308.9 kB / 0.5761 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/0.6595, allocations: 1.705 MB / 0.5778 GB, free: 12.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00568/0.6652, allocations: 5.153 MB / 0.5828 GB, free: 5.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009871/0.6751, allocations: 7.407 MB / 0.5901 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/0.6753, allocations: 36 kB / 0.5901 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01386/0.6891, allocations: 6.705 MB / 0.5966 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/0.6892, allocations: 64.25 kB / 0.5967 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/0.6894, allocations: 120 kB / 0.5968 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000687/0.6901, allocations: 324.6 kB / 0.5971 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004628/0.6947, allocations: 1.244 MB / 0.5983 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.6978, allocations: 2.366 MB / 0.6007 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004734/0.7025, allocations: 291.6 kB / 0.6009 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008444/0.7033, allocations: 332 kB / 0.6012 GB, free: 0.7852 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.004127/0.7075, allocations: 1.791 MB / 0.603 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007383/0.7082, allocations: 290.1 kB / 0.6033 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004777/0.713, allocations: 2.316 MB / 0.6055 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/0.713, allocations: 23.92 kB / 0.6056 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.713, allocations: 0 / 0.6056 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/0.7131, allocations: 7.984 kB / 0.6056 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/0.7248, allocations: 5.113 MB / 0.6106 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.7248, allocations: 4.062 kB / 0.6106 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009185/0.7257, allocations: 171.8 kB / 0.6107 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/0.7279, allocations: 0.7151 MB / 0.6114 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.7281, allocations: 20 kB / 0.6114 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006609/0.7347, allocations: 4.652 MB / 0.616 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7347, allocations: 0 / 0.616 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007453/0.7421, allocations: 4.298 MB / 0.6202 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/0.7437, allocations: 433.8 kB / 0.6206 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/0.744, allocations: 16 kB / 0.6206 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.745, allocations: 71.91 kB / 0.6207 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.7452, allocations: 72.45 kB / 0.6208 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.727e-05/0.7453, allocations: 36 kB / 0.6208 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003247/0.7486, allocations: 1.979 MB / 0.6227 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7486, allocations: 0 / 0.6227 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004972/0.7536, allocations: 0.8241 MB / 0.6235 GB, free: 9.75 MB / 0.5294 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.000488/0.7541, allocations: 138.8 kB / 0.6237 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007629/0.7617, allocations: 3.904 MB / 0.6275 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.7617, allocations: 1.312 kB / 0.6275 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.7634, allocations: 1.029 MB / 0.6285 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.7659, allocations: 345.1 kB / 0.6288 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.7812, allocations: 7.395 MB / 0.636 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003325/0.7845, allocations: 2.241 MB / 0.6382 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003926/0.7885, allocations: 1.611 MB / 0.6398 GB, free: 9.023 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006773/0.7891, allocations: 196.5 kB / 0.64 GB, free: 8.828 MB / 0.545 GB Notification: Performance of SimCode: time 1.733e-06/0.7892, allocations: 4 kB / 0.64 GB, free: 8.824 MB / 0.545 GB Notification: Performance of Templates: time 0.05888/0.848, allocations: 24.49 MB / 0.6639 GB, free: 376 kB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.520028136088513]