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.001719/0.001719, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.002011/0.002011, allocations: 215 kB / 24.49 MB, free: 3.934 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.545/1.545, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.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.2749/0.2749, allocations: 46.97 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002056/0.002056, allocations: 63.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01194/0.3606, allocations: 9.026 MB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008776/0.3694, allocations: 3.603 MB / 0.5742 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.371, allocations: 67.69 kB / 0.5742 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004103/0.3751, allocations: 1.9 MB / 0.5761 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005156/0.3803, allocations: 1.681 MB / 0.5777 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.3818, allocations: 0.6121 MB / 0.5783 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005133/0.387, allocations: 3.368 MB / 0.5816 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/0.39, allocations: 2.125 MB / 0.5837 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.3923, allocations: 1.265 MB / 0.5849 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003328/0.3957, allocations: 1.81 MB / 0.5867 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008418/0.3965, allocations: 256 kB / 0.5869 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.3987, allocations: 0.9322 MB / 0.5878 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001809/0.4005, allocations: 1.593 MB / 0.5894 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.4028, allocations: 1.335 MB / 0.5907 GB, free: 6.461 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008573/0.4114, allocations: 5.824 MB / 0.5964 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4114, allocations: 0 / 0.5964 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.859e-06/0.4114, allocations: 3.984 kB / 0.5964 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002078/0.4116, allocations: 0 / 0.5964 GB, free: 0.6094 MB / 430.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.009344/0.4209, allocations: 4.03 MB / 0.6003 GB, free: 12.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.421, allocations: 12.03 kB / 0.6003 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006841/0.4278, allocations: 1.796 MB / 0.6021 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005083/0.4329, allocations: 1.876 MB / 0.6039 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.4331, allocations: 189.2 kB / 0.6041 GB, free: 8.602 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00059/0.4337, allocations: 263.8 kB / 0.6044 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/0.4486, allocations: 8.494 MB / 0.6127 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.4487, allocations: 47.62 kB / 0.6127 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003538/0.4491, allocations: 123.9 kB / 0.6128 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002832/0.4519, allocations: 1.699 MB / 0.6145 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/0.4666, allocations: 7.086 MB / 0.6214 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04465/0.5112, allocations: 32.05 MB / 0.6527 GB, free: 5.164 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007687/0.5189, allocations: 2.739 MB / 0.6554 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.5209, allocations: 1.364 MB / 0.6567 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007025/0.5279, allocations: 3.305 MB / 0.6599 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.528, allocations: 47.22 kB / 0.66 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 5.08e-06/0.528, allocations: 0 / 0.66 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03043/0.5584, allocations: 11.54 MB / 0.6712 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.5585, allocations: 174.9 kB / 0.6714 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005201/0.5637, allocations: 3.423 MB / 0.6748 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002683/0.564, allocations: 41.7 kB / 0.6748 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002333/0.5663, allocations: 2.882 MB / 0.6776 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007337/0.567, allocations: 0.5467 MB / 0.6781 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001562/0.5686, allocations: 1.088 MB / 0.6792 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5688, allocations: 305.1 kB / 0.6795 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002742/0.5715, allocations: 1.709 MB / 0.6812 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006035/0.5775, allocations: 5.16 MB / 0.6862 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.5882, allocations: 7.425 MB / 0.6935 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001604/0.5883, allocations: 40 kB / 0.6935 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01378/0.6021, allocations: 6.696 MB / 0.7 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.6023, allocations: 60 kB / 0.7001 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002477/0.6025, allocations: 120 kB / 0.7002 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007142/0.6033, allocations: 324.6 kB / 0.7005 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004542/0.6078, allocations: 1.248 MB / 0.7017 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/0.6109, allocations: 2.355 MB / 0.704 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/0.6149, allocations: 303.6 kB / 0.7043 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009203/0.6158, allocations: 335.9 kB / 0.7046 GB, free: 12.14 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.003462/0.6193, allocations: 1.783 MB / 0.7064 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008661/0.6201, allocations: 286.1 kB / 0.7067 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005053/0.6252, allocations: 2.324 MB / 0.7089 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/0.6252, allocations: 7.922 kB / 0.7089 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.6252, allocations: 4 kB / 0.7089 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007809/0.626, allocations: 253.9 kB / 0.7092 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000315/0.6263, allocations: 23.94 kB / 0.7092 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.6273, allocations: 71.89 kB / 0.7093 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.6275, allocations: 88.45 kB / 0.7094 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005423/0.633, allocations: 2.821 MB / 0.7121 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005198/0.6382, allocations: 3.657 MB / 0.7157 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001229/0.6394, allocations: 0.8251 MB / 0.7165 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003263/0.6426, allocations: 1.963 MB / 0.7184 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of Backend: time 4.8e-07/0.6426, allocations: 0 / 0.7184 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007825/0.6505, allocations: 3.349 MB / 0.7217 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01638/0.6669, allocations: 7.71 MB / 0.7292 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of Templates: time 0.3466/1.013, allocations: 39.55 MB / 0.7678 GB, free: 131.7 MB / 0.5606 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/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_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: 7.047946142003639]