Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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.001632/0.001632, allocations: 71.75 kB / 21.24 MB, free: 0.5391 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.002083/0.002083, allocations: 162.2 kB / 24.5 MB, free: 3.707 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.516/1.516, allocations: 177.2 MB / 204.9 MB, free: 8.98 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.2085/0.2085, allocations: 34.28 MB / 295.5 MB, free: 14.54 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 71.88 kB / 443.2 MB, free: 6.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3276, allocations: 66 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.008749/0.3363, allocations: 10.73 MB / 0.5077 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006121/0.3424, allocations: 3.744 MB / 0.5114 GB, free: 20.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.3435, allocations: 74.78 kB / 0.5114 GB, free: 20.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.3456, allocations: 1.305 MB / 0.5127 GB, free: 19.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003405/0.349, allocations: 1.774 MB / 0.5144 GB, free: 19.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3501, allocations: 497.3 kB / 0.5149 GB, free: 19.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004618/0.3547, allocations: 3.614 MB / 0.5184 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.3574, allocations: 1.816 MB / 0.5202 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.3596, allocations: 1.223 MB / 0.5214 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002882/0.3625, allocations: 1.813 MB / 0.5232 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005883/0.3631, allocations: 235.9 kB / 0.5234 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.3655, allocations: 0.8383 MB / 0.5242 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0018/0.3673, allocations: 1.612 MB / 0.5258 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.3692, allocations: 1.341 MB / 0.5271 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007721/0.3769, allocations: 6.23 MB / 0.5332 GB, free: 11.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3769, allocations: 4 kB / 0.5332 GB, free: 11.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3769, allocations: 0 / 0.5332 GB, free: 11.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001573/0.3771, allocations: 3.938 kB / 0.5332 GB, free: 11.4 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.008269/0.3853, allocations: 4.159 MB / 0.5373 GB, free: 8.449 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3854, allocations: 9.625 kB / 0.5373 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.3958, allocations: 3.15 MB / 0.5403 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/0.4003, allocations: 1.826 MB / 0.5421 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.4005, allocations: 190.2 kB / 0.5423 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007334/0.4012, allocations: 248.2 kB / 0.5425 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/0.4187, allocations: 10.49 MB / 0.5528 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.4188, allocations: 31.75 kB / 0.5528 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004105/0.4192, allocations: 119.8 kB / 0.5529 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004796/0.424, allocations: 2.553 MB / 0.5554 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02124/0.4453, allocations: 9.895 MB / 0.5651 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05867/0.5039, allocations: 31.82 MB / 0.5962 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.5144, allocations: 4.163 MB / 0.6002 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003688/0.5181, allocations: 2.115 MB / 0.6023 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.5194, allocations: 0.5517 MB / 0.6028 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.5195, allocations: 52.78 kB / 0.6029 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.831e-06/0.5195, allocations: 0 / 0.6029 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03766/0.5572, allocations: 14.25 MB / 0.6168 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.5573, allocations: 77.33 kB / 0.6169 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005391/0.5627, allocations: 2.62 MB / 0.6194 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003962/0.5631, allocations: 61.69 kB / 0.6195 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002646/0.5657, allocations: 2.753 MB / 0.6222 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001499/0.5672, allocations: 0.8913 MB / 0.6231 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002367/0.5696, allocations: 1.041 MB / 0.6241 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002353/0.5698, allocations: 361.9 kB / 0.6244 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004146/0.574, allocations: 2.2 MB / 0.6266 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007083/0.581, allocations: 5.075 MB / 0.6315 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/0.594, allocations: 7.973 MB / 0.6393 GB, free: 15.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/0.5941, allocations: 28 kB / 0.6393 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01724/0.6113, allocations: 7.878 MB / 0.647 GB, free: 7.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.6115, allocations: 48 kB / 0.6471 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/0.6116, allocations: 100 kB / 0.6472 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/0.6141, allocations: 0.793 MB / 0.6479 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00442/0.6185, allocations: 1.185 MB / 0.6491 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/0.6252, allocations: 4.356 MB / 0.6534 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00376/0.6289, allocations: 291.8 kB / 0.6536 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/0.63, allocations: 304 kB / 0.6539 GB, free: 0.7422 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 628 * Array equations: 6 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005094/0.6351, allocations: 2.021 MB / 0.6559 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006914/0.6358, allocations: 258.3 kB / 0.6561 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00933/0.6451, allocations: 4.715 MB / 0.6607 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.148e-05/0.6452, allocations: 48 kB / 0.6608 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.6452, allocations: 0 / 0.6608 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/0.6452, allocations: 12.05 kB / 0.6608 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0236/0.6688, allocations: 9.223 MB / 0.6698 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/0.6688, allocations: 8.906 kB / 0.6698 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.6707, allocations: 363.4 kB / 0.6702 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/0.6729, allocations: 0.6522 MB / 0.6708 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003162/0.6732, allocations: 47.97 kB / 0.6708 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005626/0.6788, allocations: 3.756 MB / 0.6745 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.597e-05/0.6788, allocations: 15.94 kB / 0.6745 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.6911, allocations: 7.119 MB / 0.6815 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007412/0.6919, allocations: 222.4 kB / 0.6817 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005882/0.6925, allocations: 47.98 kB / 0.6817 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.694, allocations: 143.7 kB / 0.6819 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003749/0.6943, allocations: 140.9 kB / 0.682 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/0.6945, allocations: 63.98 kB / 0.6821 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003022/0.6976, allocations: 1.469 MB / 0.6835 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6976, allocations: 4.219 kB / 0.6835 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004926/0.7025, allocations: 0.9139 MB / 0.6844 GB, free: 1.109 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006499/0.7031, allocations: 178.8 kB / 0.6846 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008993/0.7121, allocations: 5.154 MB / 0.6896 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.7121, allocations: 8.062 kB / 0.6896 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002963/0.7151, allocations: 1.866 MB / 0.6914 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.7172, allocations: 286.1 kB / 0.6917 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2536/0.9709, allocations: 9.54 MB / 0.701 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005937/0.9768, allocations: 2.621 MB / 0.7036 GB, free: 168.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004012/0.9808, allocations: 1.936 MB / 0.7055 GB, free: 168.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006573/0.9815, allocations: 194 kB / 0.7057 GB, free: 168.2 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/0.9815, allocations: 0 / 0.7057 GB, free: 168.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.04858/1.03, allocations: 23.88 MB / 0.729 GB, free: 163.5 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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.822050844086334]