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.001894/0.001894, allocations: 76.5 kB / 19.93 MB, free: 1.781 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.002388/0.002388, allocations: 165.1 kB / 23.21 MB, free: 4.91 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.524/1.524, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.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.2119/0.2119, allocations: 32.38 MB / 269.6 MB, free: 4.672 MB / 254.1 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.838e-05, allocations: 2.281 kB / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01441/0.01444, allocations: 11.07 MB / 418.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009404/0.02384, allocations: 3.801 MB / 422.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/0.02623, allocations: 71.75 kB / 422.3 MB, free: 4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.02943, allocations: 1.362 MB / 423.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005284/0.03471, allocations: 1.894 MB / 425.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.03622, allocations: 0.5222 MB / 426.1 MB, free: 212 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00591/0.04213, allocations: 4.003 MB / 430.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003151/0.04528, allocations: 2.125 MB / 432.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/0.04867, allocations: 1.906 MB / 434.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003772/0.05244, allocations: 1.968 MB / 436.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007508/0.0532, allocations: 247.9 kB / 436.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.05544, allocations: 0.9165 MB / 437.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001766/0.05721, allocations: 1.741 MB / 439 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.0589, allocations: 1.039 MB / 440 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008001/0.0669, allocations: 6.357 MB / 446.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.06691, allocations: 0 / 446.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.06691, allocations: 0 / 446.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001267/0.06703, allocations: 0 / 446.4 MB, free: 11.82 MB / 382.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.007998/0.07503, allocations: 4.287 MB / 450.7 MB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.07508, allocations: 8.031 kB / 450.7 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.08692, allocations: 3.172 MB / 453.9 MB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004318/0.09124, allocations: 1.901 MB / 455.8 MB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.09145, allocations: 193.2 kB / 455.9 MB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008091/0.09226, allocations: 256.1 kB / 456.2 MB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/0.1141, allocations: 10.69 MB / 466.9 MB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/0.1142, allocations: 39.67 kB / 466.9 MB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004451/0.1146, allocations: 123.8 kB / 467 MB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005461/0.1201, allocations: 2.62 MB / 469.7 MB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2233/0.3434, allocations: 9.989 MB / 479.6 MB, free: 62.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04659/0.39, allocations: 32.62 MB / 0.5003 GB, free: 41.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007849/0.3979, allocations: 4.154 MB / 0.5043 GB, free: 37.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/0.4, allocations: 2.115 MB / 0.5064 GB, free: 35.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008854/0.4009, allocations: 0.543 MB / 0.5069 GB, free: 34.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.401, allocations: 59.44 kB / 0.507 GB, free: 34.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=229): time 7.203e-06/0.401, allocations: 0 / 0.507 GB, free: 34.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=235): time 0.02925/0.4302, allocations: 14.4 MB / 0.521 GB, free: 20.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.4303, allocations: 73.41 kB / 0.5211 GB, free: 20.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/0.433, allocations: 2.779 MB / 0.5238 GB, free: 17.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.4332, allocations: 57.3 kB / 0.5239 GB, free: 17.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.4342, allocations: 2.814 MB / 0.5266 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005807/0.4348, allocations: 0.8766 MB / 0.5275 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.4359, allocations: 1.049 MB / 0.5285 GB, free: 12.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.436, allocations: 357.9 kB / 0.5288 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.4383, allocations: 2.216 MB / 0.531 GB, free: 10.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003325/0.4416, allocations: 5.134 MB / 0.536 GB, free: 3.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0094/0.451, allocations: 8.066 MB / 0.5439 GB, free: 10.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-05/0.4511, allocations: 28 kB / 0.5439 GB, free: 10.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01535/0.4665, allocations: 7.947 MB / 0.5517 GB, free: 2.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.841e-05/0.4665, allocations: 48 kB / 0.5517 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/0.4667, allocations: 100 kB / 0.5518 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.4691, allocations: 0.8012 MB / 0.5526 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004201/0.4733, allocations: 1.201 MB / 0.5538 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006837/0.4802, allocations: 4.373 MB / 0.558 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004086/0.4843, allocations: 335.8 kB / 0.5584 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005928/0.4849, allocations: 308 kB / 0.5587 GB, free: 11.01 MB / 430.1 MB 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.003858/0.4887, allocations: 2.048 MB / 0.5607 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006123/0.4893, allocations: 266.2 kB / 0.5609 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008905/0.4982, allocations: 4.711 MB / 0.5655 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.211e-05/0.4983, allocations: 51.42 kB / 0.5656 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.4983, allocations: 0 / 0.5656 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/0.4984, allocations: 11.97 kB / 0.5656 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/0.5177, allocations: 9.329 MB / 0.5747 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.5178, allocations: 4 kB / 0.5747 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.5195, allocations: 364.8 kB / 0.575 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002311/0.5218, allocations: 0.6483 MB / 0.5757 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/0.5221, allocations: 45.95 kB / 0.5757 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005991/0.5281, allocations: 3.773 MB / 0.5794 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.5281, allocations: 11.94 kB / 0.5794 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/0.5412, allocations: 7.111 MB / 0.5864 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/0.5433, allocations: 0.5961 MB / 0.5869 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008646/0.5442, allocations: 40 kB / 0.587 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/0.5463, allocations: 183.2 kB / 0.5871 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/0.5468, allocations: 140.8 kB / 0.5873 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002526/0.5471, allocations: 63.92 kB / 0.5873 GB, free: 13.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003354/0.5504, allocations: 1.592 MB / 0.5889 GB, free: 11.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5504, allocations: 0 / 0.5889 GB, free: 11.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0056/0.556, allocations: 1.031 MB / 0.5899 GB, free: 10.67 MB / 462.1 MB 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.0007957/0.5568, allocations: 197.6 kB / 0.5901 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01015/0.567, allocations: 5.181 MB / 0.5952 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/0.567, allocations: 0 / 0.5952 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003575/0.5706, allocations: 1.872 MB / 0.597 GB, free: 3.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/0.5735, allocations: 269.5 kB / 0.5972 GB, free: 3.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02474/0.5982, allocations: 9.679 MB / 0.6067 GB, free: 9.352 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00459/0.6028, allocations: 2.689 MB / 0.6093 GB, free: 6.629 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004901/0.6077, allocations: 1.948 MB / 0.6112 GB, free: 4.672 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/0.6085, allocations: 200.4 kB / 0.6114 GB, free: 4.477 MB / 478.1 MB Notification: Performance of SimCode: time 2.074e-06/0.6085, allocations: 4 kB / 0.6114 GB, free: 4.473 MB / 478.1 MB Notification: Performance of Templates: time 0.0592/0.6677, allocations: 25.38 MB / 0.6362 GB, free: 11.19 MB / 0.4981 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: 6.755224086344242]