Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001669/0.002773, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007321/0.0007321, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001785, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9855/0.9855, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09077/1.076, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2609/0.2609, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0244/0.2853, allocations: 13.24 MB / 292.8 MB, free: 6.414 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 294.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.756e-05, allocations: 2.312 kB / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01077/0.01078, allocations: 11.67 MB / 305.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007361/0.01814, allocations: 4.023 MB / 309.8 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.01955, allocations: 67.75 kB / 309.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.02141, allocations: 1.366 MB / 311.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.02446, allocations: 1.824 MB / 313.1 MB, free: 2.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008679/0.02532, allocations: 490.7 kB / 313.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003522/0.02885, allocations: 3.938 MB / 317.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.03058, allocations: 1.9 MB / 319.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/0.03263, allocations: 1.92 MB / 321.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.03442, allocations: 1.796 MB / 323.1 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.03482, allocations: 236 kB / 323.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.03659, allocations: 0.9282 MB / 324.2 MB, free: 6.816 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.03789, allocations: 1.504 MB / 325.8 MB, free: 5.309 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008841/0.03877, allocations: 0.8214 MB / 326.6 MB, free: 4.484 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003156/0.04193, allocations: 3.785 MB / 330.4 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.04194, allocations: 0 / 330.4 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.04194, allocations: 4 kB / 330.4 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.835e-05/0.042, allocations: 0 / 330.4 MB, free: 0.6797 MB / 314.7 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.004252/0.04625, allocations: 4.67 MB / 335 MB, free: 11.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.04629, allocations: 11.44 kB / 335 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/0.04964, allocations: 1.386 MB / 336.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.05139, allocations: 1.401 MB / 337.8 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.372e-05/0.05148, allocations: 189 kB / 338 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.0518, allocations: 248.2 kB / 338.3 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005326/0.05712, allocations: 4.456 MB / 342.7 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-05/0.05718, allocations: 39.73 kB / 342.8 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.0574, allocations: 115.8 kB / 342.9 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001829/0.05923, allocations: 2.042 MB / 344.9 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005245/0.06447, allocations: 2.568 MB / 347.5 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02384/0.08831, allocations: 25.37 MB / 372.8 MB, free: 4.734 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.09101, allocations: 1.333 MB / 374.2 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.09143, allocations: 329.9 kB / 374.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005429/0.09686, allocations: 3.686 MB / 378.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.09689, allocations: 47.56 kB / 378.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 2.955e-06/0.09689, allocations: 0 / 378.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.007059/0.1039, allocations: 3.684 MB / 381.9 MB, free: 11.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.104, allocations: 64.41 kB / 382 MB, free: 11.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.1057, allocations: 2.399 MB / 384.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/0.1057, allocations: 45.7 kB / 384.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.1071, allocations: 2.823 MB / 387.2 MB, free: 6.176 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003947/0.1075, allocations: 0.6472 MB / 387.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000754/0.1083, allocations: 0.9577 MB / 388.9 MB, free: 4.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.1084, allocations: 357.8 kB / 389.2 MB, free: 4.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008937/0.1093, allocations: 0.6381 MB / 389.8 MB, free: 3.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/0.1116, allocations: 3.545 MB / 393.4 MB, free: 14.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/0.1157, allocations: 4.984 MB / 398.4 MB, free: 8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.905e-05/0.1158, allocations: 32 kB / 398.4 MB, free: 7.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.003915/0.1197, allocations: 3.385 MB / 401.8 MB, free: 4.574 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/0.1197, allocations: 51.94 kB / 401.8 MB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/0.1198, allocations: 120 kB / 402 MB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002724/0.1201, allocations: 183.6 kB / 402.1 MB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.1223, allocations: 1.217 MB / 403.4 MB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009353/0.1232, allocations: 1.448 MB / 404.8 MB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.1252, allocations: 196 kB / 405 MB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/0.1254, allocations: 268 kB / 405.3 MB, free: 1.008 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * 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 (628): * Single equations (assignments): 621 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001364/0.1268, allocations: 0.5277 MB / 405.8 MB, free: 480 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/0.1272, allocations: 163.8 kB / 405.9 MB, free: 316 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.1283, allocations: 0.8237 MB / 406.8 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.1283, allocations: 16.03 kB / 406.8 MB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1283, allocations: 0 / 406.8 MB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.1283, allocations: 11.91 kB / 406.8 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/0.1334, allocations: 3.518 MB / 410.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.667e-05/0.1334, allocations: 19.98 kB / 410.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/0.134, allocations: 216.3 kB / 410.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.1343, allocations: 230.2 kB / 410.8 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.1345, allocations: 47.64 kB / 410.8 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.1346, allocations: 31.98 kB / 410.8 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008605/0.1354, allocations: 1.358 MB / 412.2 MB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.1354, allocations: 7.938 kB / 412.2 MB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.1368, allocations: 1.257 MB / 413.5 MB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.137, allocations: 31.98 kB / 413.5 MB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.1374, allocations: 20.14 kB / 413.5 MB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.1376, allocations: 96.7 kB / 413.6 MB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.1376, allocations: 43.94 kB / 413.7 MB, free: 8.266 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007257/0.1384, allocations: 0.8306 MB / 414.5 MB, free: 7.422 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1384, allocations: 4.031 kB / 414.5 MB, free: 7.418 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002498/0.1409, allocations: 0.867 MB / 415.4 MB, free: 6.551 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (120): * Single equations (assignments): 113 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003764/0.1412, allocations: 156 kB / 415.5 MB, free: 6.387 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.1442, allocations: 2.188 MB / 417.7 MB, free: 4.219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000163/0.1444, allocations: 70.56 kB / 417.8 MB, free: 4.145 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006693/0.145, allocations: 0.5742 MB / 418.3 MB, free: 3.555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.1474, allocations: 1.856 MB / 420.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.1581, allocations: 7.075 MB / 427.3 MB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.1593, allocations: 1.153 MB / 428.4 MB, free: 9.113 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00107/0.1603, allocations: 392.3 kB / 428.8 MB, free: 8.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/0.1609, allocations: 401.3 kB / 429.2 MB, free: 8.332 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.1609, allocations: 0 / 429.2 MB, free: 8.332 MB / 426.7 MB Notification: Performance of Templates: time 0.1692/0.3301, allocations: 19.86 MB / 449.1 MB, free: 118.4 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.524613970890641]