Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001372/0.001372, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001444/0.001444, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.488/1.488, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2234/0.2234, allocations: 34.27 MB / 294.9 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.559e-05, allocations: 2.281 kB / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2134/0.2135, allocations: 9.035 MB / 451.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007794/0.2213, allocations: 3.614 MB / 455.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.2232, allocations: 70.03 kB / 455.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004184/0.2273, allocations: 1.989 MB / 457.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004762/0.2321, allocations: 1.729 MB / 459.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.2337, allocations: 0.6593 MB / 459.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00568/0.2394, allocations: 3.752 MB / 463.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003613/0.243, allocations: 2.38 MB / 465.9 MB, free: 8.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.2463, allocations: 1.896 MB / 467.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003466/0.2497, allocations: 1.819 MB / 469.6 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007934/0.2505, allocations: 260.2 kB / 469.9 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.253, allocations: 0.9767 MB / 470.9 MB, free: 6.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00175/0.2548, allocations: 1.668 MB / 472.5 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001797/0.2566, allocations: 1.032 MB / 473.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008003/0.2646, allocations: 5.813 MB / 479.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.557e-06/0.2646, allocations: 0 / 479.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.2646, allocations: 3.062 kB / 479.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004292/0.265, allocations: 0 / 479.4 MB, free: 0.5781 MB / 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.01356/0.2786, allocations: 4.047 MB / 483.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.2786, allocations: 8.031 kB / 483.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0076/0.2862, allocations: 1.835 MB / 485.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005114/0.2914, allocations: 1.86 MB / 487.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.2915, allocations: 197.2 kB / 487.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005024/0.292, allocations: 256.2 kB / 487.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01667/0.3087, allocations: 8.506 MB / 496.1 MB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.3088, allocations: 39.64 kB / 496.1 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003707/0.3092, allocations: 131 kB / 496.2 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003365/0.3125, allocations: 1.691 MB / 497.9 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.3278, allocations: 7.085 MB / 0.4932 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04616/0.374, allocations: 32.22 MB / 0.5246 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008463/0.3825, allocations: 2.82 MB / 0.5274 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/0.3847, allocations: 1.373 MB / 0.5287 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007144/0.3918, allocations: 3.454 MB / 0.5321 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.3919, allocations: 47.2 kB / 0.5322 GB, free: 13.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.967e-06/0.3919, allocations: 0 / 0.5322 GB, free: 13.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03293/0.4248, allocations: 11.9 MB / 0.5438 GB, free: 1.992 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.4249, allocations: 166.9 kB / 0.5439 GB, free: 1.793 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005027/0.4299, allocations: 3.513 MB / 0.5474 GB, free: 14.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002468/0.4302, allocations: 41.7 kB / 0.5474 GB, free: 14.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002295/0.4325, allocations: 2.847 MB / 0.5502 GB, free: 11.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006898/0.4332, allocations: 0.539 MB / 0.5507 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/0.4348, allocations: 1.072 MB / 0.5518 GB, free: 9.719 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.435, allocations: 301.1 kB / 0.552 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00281/0.4378, allocations: 1.713 MB / 0.5537 GB, free: 7.703 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006309/0.4442, allocations: 5.16 MB / 0.5588 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.4546, allocations: 7.426 MB / 0.566 GB, free: 7.676 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/0.4547, allocations: 36 kB / 0.566 GB, free: 7.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01342/0.4681, allocations: 6.713 MB / 0.5726 GB, free: 0.918 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.412e-05/0.4682, allocations: 58.03 kB / 0.5727 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/0.4683, allocations: 124 kB / 0.5728 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006789/0.469, allocations: 317.3 kB / 0.5731 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/0.4732, allocations: 1.248 MB / 0.5743 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.4761, allocations: 2.354 MB / 0.5766 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004035/0.4802, allocations: 323.5 kB / 0.5769 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006561/0.4808, allocations: 332 kB / 0.5772 GB, free: 12.09 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.003121/0.484, allocations: 1.788 MB / 0.579 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/0.4846, allocations: 290.1 kB / 0.5792 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004981/0.4895, allocations: 2.324 MB / 0.5815 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/0.4896, allocations: 19.98 kB / 0.5815 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.4896, allocations: 4 kB / 0.5815 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.4896, allocations: 3.984 kB / 0.5815 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.5013, allocations: 5.168 MB / 0.5866 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.5013, allocations: 0 / 0.5866 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.5024, allocations: 179.7 kB / 0.5867 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002481/0.5048, allocations: 0.7108 MB / 0.5874 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.505, allocations: 27.97 kB / 0.5875 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006713/0.5117, allocations: 4.7 MB / 0.5921 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.5117, allocations: 7.938 kB / 0.5921 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007875/0.5195, allocations: 4.306 MB / 0.5963 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.5206, allocations: 285.9 kB / 0.5965 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/0.5209, allocations: 16 kB / 0.5966 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.5222, allocations: 103.8 kB / 0.5967 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.5224, allocations: 72.47 kB / 0.5967 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.5225, allocations: 39.92 kB / 0.5968 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00346/0.526, allocations: 2.026 MB / 0.5987 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.526, allocations: 4 kB / 0.5987 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004684/0.5306, allocations: 0.8671 MB / 0.5996 GB, free: 4.938 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.00048/0.5311, allocations: 171 kB / 0.5998 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006937/0.5381, allocations: 3.908 MB / 0.6036 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5381, allocations: 0 / 0.6036 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.5397, allocations: 1.034 MB / 0.6046 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.5421, allocations: 342.5 kB / 0.6049 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.5561, allocations: 7.311 MB / 0.6121 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003198/0.5593, allocations: 2.229 MB / 0.6142 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003867/0.5632, allocations: 1.611 MB / 0.6158 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008279/0.564, allocations: 196.5 kB / 0.616 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.564, allocations: 3.938 kB / 0.616 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of Templates: time 0.3002/0.8642, allocations: 25.65 MB / 0.641 GB, free: 169.5 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.771570079028606]