Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009296/0.0009296, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009848/0.0009848, allocations: 171.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9812/0.9812, allocations: 177.2 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1511/0.1511, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.378e-05, allocations: 6.141 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.006378/0.006391, allocations: 9.708 MB / 387 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004633/0.01102, allocations: 3.687 MB / 390.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006744/0.0117, allocations: 63.69 kB / 390.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.01361, allocations: 2.055 MB / 392.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.01572, allocations: 1.746 MB / 394.5 MB, free: 8.254 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.01657, allocations: 0.6626 MB / 395.2 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0021/0.01867, allocations: 3.764 MB / 399 MB, free: 3.816 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.02039, allocations: 2.454 MB / 401.4 MB, free: 1.305 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.02208, allocations: 1.945 MB / 403.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.02375, allocations: 1.827 MB / 405.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002747/0.02403, allocations: 260 kB / 405.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.02516, allocations: 0.9672 MB / 406.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00094/0.0261, allocations: 1.675 MB / 408.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008304/0.02693, allocations: 1.028 MB / 409.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.02988, allocations: 3.806 MB / 412.9 MB, free: 5.766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.02989, allocations: 4 kB / 412.9 MB, free: 5.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.02989, allocations: 0 / 412.9 MB, free: 5.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.362e-05/0.02993, allocations: 0 / 412.9 MB, free: 5.762 MB / 330.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.004364/0.0343, allocations: 4.25 MB / 417.2 MB, free: 1.449 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.03433, allocations: 15.97 kB / 417.2 MB, free: 1.434 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/0.03718, allocations: 1.282 MB / 418.5 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.03877, allocations: 1.609 MB / 420.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-05/0.03887, allocations: 189.2 kB / 420.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.03915, allocations: 260.2 kB / 420.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004492/0.04364, allocations: 4.801 MB / 425.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-05/0.0437, allocations: 43.62 kB / 425.4 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/0.04392, allocations: 123.9 kB / 425.5 MB, free: 8.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001243/0.04516, allocations: 1.469 MB / 427 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003237/0.0484, allocations: 2.077 MB / 429 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/0.06894, allocations: 38.45 MB / 467.5 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/0.07194, allocations: 1.33 MB / 468.8 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004912/0.07243, allocations: 352.7 kB / 469.2 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004203/0.07663, allocations: 3.227 MB / 472.4 MB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.07667, allocations: 49.89 kB / 472.4 MB, free: 7.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=103): time 3.817e-06/0.07667, allocations: 0 / 472.4 MB, free: 7.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=104): time 0.01087/0.08754, allocations: 3.108 MB / 475.5 MB, free: 4.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.0876, allocations: 166.7 kB / 475.7 MB, free: 4.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/0.0904, allocations: 3.248 MB / 479 MB, free: 1.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/0.09046, allocations: 37.7 kB / 479 MB, free: 1.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.09193, allocations: 3.111 MB / 482.1 MB, free: 13.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003457/0.09228, allocations: 484.6 kB / 482.6 MB, free: 13.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009237/0.0932, allocations: 1.187 MB / 483.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.09331, allocations: 480.8 kB / 484.2 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006523/0.09397, allocations: 450.2 kB / 484.7 MB, free: 11.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003055/0.09702, allocations: 5.738 MB / 490.4 MB, free: 3.184 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/0.1013, allocations: 6.764 MB / 497.2 MB, free: 9.992 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-05/0.1014, allocations: 36 kB / 497.2 MB, free: 9.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.004694/0.1061, allocations: 4.226 MB / 0.4897 GB, free: 5.734 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.1061, allocations: 59.75 kB / 0.4897 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.17e-05/0.1062, allocations: 128 kB / 0.4899 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-05/0.1063, allocations: 164.8 kB / 0.49 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.1081, allocations: 1.216 MB / 0.4912 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001225/0.1083, allocations: 251 kB / 0.4914 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.1101, allocations: 243.7 kB / 0.4917 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/0.1104, allocations: 296 kB / 0.492 GB, free: 3.402 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (667): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009229/0.1113, allocations: 0.603 MB / 0.4925 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004288/0.1117, allocations: 322 kB / 0.4929 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007294/0.1125, allocations: 0.551 MB / 0.4934 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.1125, allocations: 12 kB / 0.4934 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1125, allocations: 0 / 0.4934 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.1125, allocations: 7.984 kB / 0.4934 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1605/0.273, allocations: 2.375 MB / 0.4957 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.273, allocations: 2.594 kB / 0.4957 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.2735, allocations: 131.9 kB / 0.4959 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.2737, allocations: 47.59 kB / 0.4959 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/0.2738, allocations: 22.12 kB / 0.4959 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/0.2777, allocations: 1.789 MB / 0.4977 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2777, allocations: 3.438 kB / 0.4977 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.2795, allocations: 1.455 MB / 0.4991 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/0.2799, allocations: 266.9 kB / 0.4994 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003303/0.2832, allocations: 20.59 kB / 0.4994 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006908/0.2839, allocations: 21.08 kB / 0.4994 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.284, allocations: 57.98 kB / 0.4994 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.2841, allocations: 24.3 kB / 0.4995 GB, free: 110.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001568/0.2856, allocations: 1.283 MB / 0.5007 GB, free: 110 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2856, allocations: 0 / 0.5007 GB, free: 110 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006321/0.292, allocations: 0.7903 MB / 0.5015 GB, free: 110 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003337/0.2953, allocations: 156.9 kB / 0.5016 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008762/0.3041, allocations: 2.089 MB / 0.5037 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3041, allocations: 0.5938 kB / 0.5037 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006419/0.3047, allocations: 443.8 kB / 0.5041 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.3064, allocations: 338.5 kB / 0.5044 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/0.3298, allocations: 5.803 MB / 0.5101 GB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008692/0.3307, allocations: 0.9954 MB / 0.5111 GB, free: 107.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001242/0.332, allocations: 425 kB / 0.5115 GB, free: 107 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006658/0.3326, allocations: 0.4989 MB / 0.512 GB, free: 106.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.164e-06/0.3326, allocations: 0.6562 kB / 0.512 GB, free: 106.9 MB / 426.7 MB Notification: Performance of Templates: time 0.03859/0.3712, allocations: 22.5 MB / 0.5339 GB, free: 89.08 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.28569883806631]