Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001921/0.001921, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001916/0.001916, allocations: 215.5 kB / 22.99 MB, free: 4.602 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.771/1.771, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.2379/0.2379, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") [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.00225/0.00225, allocations: 73.62 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1221, allocations: 61.04 MB / 0.5166 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01417/0.1363, allocations: 11.07 MB / 0.5275 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008849/0.1452, allocations: 3.778 MB / 0.5311 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.1468, allocations: 71.75 kB / 0.5312 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.1498, allocations: 1.307 MB / 0.5325 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004698/0.1545, allocations: 1.845 MB / 0.5343 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.1559, allocations: 491 kB / 0.5348 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005169/0.1611, allocations: 3.661 MB / 0.5383 GB, free: 380 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2329/0.394, allocations: 1.866 MB / 0.5402 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003217/0.3972, allocations: 1.263 MB / 0.5414 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003292/0.4005, allocations: 1.849 MB / 0.5432 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008344/0.4014, allocations: 239.5 kB / 0.5434 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.4037, allocations: 0.8524 MB / 0.5443 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001926/0.4056, allocations: 1.667 MB / 0.5459 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002462/0.4081, allocations: 1.389 MB / 0.5472 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.4188, allocations: 6.414 MB / 0.5535 GB, free: 8.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.4188, allocations: 1.281 kB / 0.5535 GB, free: 8.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4188, allocations: 0 / 0.5535 GB, free: 8.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003835/0.4192, allocations: 0.6562 kB / 0.5535 GB, free: 8.844 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01231/0.4315, allocations: 4.286 MB / 0.5577 GB, free: 6.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4315, allocations: 9.984 kB / 0.5577 GB, free: 6.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.4432, allocations: 3.098 MB / 0.5607 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006295/0.4495, allocations: 1.927 MB / 0.5626 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000264/0.4498, allocations: 198.6 kB / 0.5628 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001458/0.4512, allocations: 259.5 kB / 0.563 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01915/0.4704, allocations: 10.69 MB / 0.5735 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.4705, allocations: 30.36 kB / 0.5735 GB, free: 0 / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004967/0.471, allocations: 127.3 kB / 0.5736 GB, free: 0 / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004656/0.4756, allocations: 2.645 MB / 0.5762 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/0.4972, allocations: 9.995 MB / 0.586 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06014/0.5573, allocations: 32.4 MB / 0.6176 GB, free: 8.383 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/0.5696, allocations: 4.049 MB / 0.6216 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00422/0.5738, allocations: 2.123 MB / 0.6237 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/0.5753, allocations: 0.529 MB / 0.6242 GB, free: 1.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.532e-05/0.5754, allocations: 57.89 kB / 0.6242 GB, free: 1.645 MB / 462.1 MB Notification: Performance of pre-optimization done (n=229): time 7.925e-06/0.5754, allocations: 0 / 0.6242 GB, free: 1.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=235): time 0.04032/0.6157, allocations: 13.98 MB / 0.6379 GB, free: 3.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.6158, allocations: 73.41 kB / 0.6379 GB, free: 3.594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00634/0.6221, allocations: 2.662 MB / 0.6405 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004997/0.6226, allocations: 55.89 kB / 0.6406 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002786/0.6254, allocations: 2.847 MB / 0.6434 GB, free: 14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001661/0.6271, allocations: 0.8861 MB / 0.6442 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003091/0.6302, allocations: 1.063 MB / 0.6453 GB, free: 12.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.6304, allocations: 357.9 kB / 0.6456 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004151/0.6346, allocations: 2.212 MB / 0.6478 GB, free: 9.484 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007334/0.6419, allocations: 5.139 MB / 0.6528 GB, free: 2.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/0.6549, allocations: 8.067 MB / 0.6607 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/0.655, allocations: 28 kB / 0.6607 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=704) (initialization): time 0.02001/0.675, allocations: 7.947 MB / 0.6685 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.6752, allocations: 48 kB / 0.6685 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/0.6754, allocations: 104 kB / 0.6686 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/0.678, allocations: 0.796 MB / 0.6694 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004897/0.6829, allocations: 1.205 MB / 0.6706 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007407/0.6903, allocations: 4.359 MB / 0.6748 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004812/0.6952, allocations: 299.8 kB / 0.6751 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001423/0.6966, allocations: 300 kB / 0.6754 GB, free: 10.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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 (644): * Single equations (assignments): 637 * 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.006536/0.7031, allocations: 2.069 MB / 0.6774 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009671/0.7041, allocations: 262.3 kB / 0.6777 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/0.7149, allocations: 4.703 MB / 0.6823 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.708e-05/0.715, allocations: 46.81 kB / 0.6823 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.715, allocations: 3.984 kB / 0.6823 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.067e-05/0.715, allocations: 11.97 kB / 0.6823 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02527/0.7403, allocations: 9.229 MB / 0.6913 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-05/0.7403, allocations: 8 kB / 0.6913 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/0.7423, allocations: 365.4 kB / 0.6917 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/0.7447, allocations: 0.6522 MB / 0.6923 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004872/0.7452, allocations: 47.98 kB / 0.6924 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006632/0.7518, allocations: 3.753 MB / 0.696 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.7518, allocations: 12.92 kB / 0.696 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.7658, allocations: 7.125 MB / 0.703 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002163/0.7679, allocations: 0.5606 MB / 0.7036 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007953/0.7687, allocations: 41.62 kB / 0.7036 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.7705, allocations: 154 kB / 0.7037 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005129/0.771, allocations: 140.9 kB / 0.7039 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002234/0.7712, allocations: 67.92 kB / 0.7039 GB, free: 13.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003566/0.7748, allocations: 1.502 MB / 0.7054 GB, free: 11.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7748, allocations: 0 / 0.7054 GB, free: 11.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005693/0.7805, allocations: 0.9472 MB / 0.7063 GB, free: 10.68 MB / 0.545 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.0006824/0.7811, allocations: 172.8 kB / 0.7065 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01012/0.7913, allocations: 5.187 MB / 0.7116 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/0.7913, allocations: 4.062 kB / 0.7116 GB, free: 5.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003363/0.7946, allocations: 1.873 MB / 0.7134 GB, free: 3.438 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/0.7976, allocations: 272.6 kB / 0.7137 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0235/0.8211, allocations: 9.729 MB / 0.7232 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006391/0.8275, allocations: 2.689 MB / 0.7258 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005399/0.8329, allocations: 1.944 MB / 0.7277 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007997/0.8337, allocations: 195.4 kB / 0.7279 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/0.8337, allocations: 4 kB / 0.7279 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of Templates: time 0.06265/0.8963, allocations: 28.02 MB / 0.7552 GB, free: 8.52 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.4254951644688845]