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.0009429/0.0009429, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.00172/0.00172, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9702/0.9702, allocations: 177.1 MB / 206 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] 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.1722/0.1722, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.7 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 1.282e-06/1.282e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.462e-05, allocations: 10.19 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.006886/0.006901, allocations: 11.51 MB / 390.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004878/0.01178, allocations: 3.833 MB / 394.6 MB, free: 7.969 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007757/0.01255, allocations: 71.75 kB / 394.7 MB, free: 7.898 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.01385, allocations: 1.385 MB / 396.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.01567, allocations: 1.848 MB / 398 MB, free: 4.652 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/0.01624, allocations: 0.5183 MB / 398.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002088/0.01833, allocations: 3.979 MB / 402.4 MB, free: 152 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.02018, allocations: 2.149 MB / 404.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.02165, allocations: 1.878 MB / 406.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.02318, allocations: 1.921 MB / 408.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.02341, allocations: 236 kB / 408.6 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009901/0.0244, allocations: 0.9047 MB / 409.5 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008992/0.0253, allocations: 1.679 MB / 411.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009922/0.0263, allocations: 0.9963 MB / 412.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.02902, allocations: 4.05 MB / 416.3 MB, free: 2.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.02902, allocations: 0 / 416.3 MB, free: 2.262 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02902, allocations: 0 / 416.3 MB, free: 2.262 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.581e-05/0.02906, allocations: 3.938 kB / 416.3 MB, free: 2.258 MB / 330.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.004235/0.03329, allocations: 4.451 MB / 420.7 MB, free: 13.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.03333, allocations: 8.031 kB / 420.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004177/0.0375, allocations: 1.84 MB / 422.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.03904, allocations: 1.537 MB / 424.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.902e-05/0.03914, allocations: 193 kB / 424.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/0.03946, allocations: 252.1 kB / 424.5 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004795/0.04425, allocations: 4.787 MB / 429.3 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-05/0.04431, allocations: 27.7 kB / 429.3 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.04454, allocations: 119.8 kB / 429.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002121/0.04666, allocations: 2.171 MB / 431.6 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005213/0.05188, allocations: 2.552 MB / 434.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02877/0.08064, allocations: 33.5 MB / 467.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003684/0.08433, allocations: 1.312 MB / 469 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008953/0.08522, allocations: 415.5 kB / 469.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006598/0.09182, allocations: 3.926 MB / 473.3 MB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.09186, allocations: 46.39 kB / 473.4 MB, free: 7.328 MB / 394.7 MB Notification: Performance of pre-optimization done (n=166): time 3.647e-06/0.09186, allocations: 0 / 473.4 MB, free: 7.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=167): time 0.009816/0.1017, allocations: 3.984 MB / 477.4 MB, free: 3.301 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.1017, allocations: 64.41 kB / 477.4 MB, free: 3.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.1043, allocations: 2.683 MB / 480.1 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.1043, allocations: 45.7 kB / 480.1 MB, free: 472 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.106, allocations: 3.069 MB / 483.2 MB, free: 13.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007369/0.1067, allocations: 0.6901 MB / 483.9 MB, free: 12.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.1079, allocations: 1.128 MB / 485 MB, free: 11.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1081, allocations: 0.5393 MB / 485.6 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007498/0.1088, allocations: 497.8 kB / 486.1 MB, free: 10.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002847/0.1117, allocations: 5.025 MB / 491.1 MB, free: 3.391 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1429/0.2546, allocations: 6.028 MB / 497.1 MB, free: 101.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.798e-05/0.2547, allocations: 32.66 kB / 497.1 MB, free: 101.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004645/0.2593, allocations: 4.009 MB / 0.4894 GB, free: 100.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.2594, allocations: 54.06 kB / 0.4895 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.547e-05/0.2594, allocations: 110.7 kB / 0.4896 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/0.2597, allocations: 187 kB / 0.4897 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.2612, allocations: 1.096 MB / 0.4908 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00071/0.2619, allocations: 1.974 MB / 0.4927 GB, free: 98.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.2634, allocations: 197.2 kB / 0.4929 GB, free: 98.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.2636, allocations: 271.9 kB / 0.4932 GB, free: 98.51 MB / 410.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.0007822/0.2643, allocations: 0.5637 MB / 0.4937 GB, free: 98.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.2645, allocations: 286.5 kB / 0.494 GB, free: 98.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.2656, allocations: 0.9867 MB / 0.495 GB, free: 98.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.2656, allocations: 24.58 kB / 0.495 GB, free: 98.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2656, allocations: 0 / 0.495 GB, free: 98.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2656, allocations: 9.422 kB / 0.495 GB, free: 98.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004168/0.2698, allocations: 4.325 MB / 0.4992 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.2698, allocations: 6.531 kB / 0.4992 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.2702, allocations: 185.8 kB / 0.4994 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.2704, allocations: 47.39 kB / 0.4995 GB, free: 97.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.2704, allocations: 36.75 kB / 0.4995 GB, free: 97.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005017/0.2709, allocations: 1.782 MB / 0.5012 GB, free: 95.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2709, allocations: 4 kB / 0.5012 GB, free: 95.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.2722, allocations: 1.568 MB / 0.5028 GB, free: 94.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.2723, allocations: 226.8 kB / 0.503 GB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.2725, allocations: 37.52 kB / 0.503 GB, free: 94.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.2729, allocations: 21.88 kB / 0.503 GB, free: 94.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.273, allocations: 95.52 kB / 0.5031 GB, free: 94.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.2731, allocations: 47.97 kB / 0.5032 GB, free: 94.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006495/0.2737, allocations: 1.053 MB / 0.5042 GB, free: 93.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2737, allocations: 0 / 0.5042 GB, free: 93.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001879/0.2756, allocations: 0.8625 MB / 0.5051 GB, free: 92.68 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.0002489/0.2758, allocations: 169.6 kB / 0.5052 GB, free: 92.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.2776, allocations: 2.331 MB / 0.5075 GB, free: 90.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2776, allocations: 0 / 0.5075 GB, free: 90.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.278, allocations: 0.6079 MB / 0.5081 GB, free: 90.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/0.2788, allocations: 280.2 kB / 0.5083 GB, free: 90.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/0.2847, allocations: 6.996 MB / 0.5152 GB, free: 83.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007535/0.2855, allocations: 1.168 MB / 0.5163 GB, free: 82.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000781/0.2863, allocations: 404.3 kB / 0.5167 GB, free: 82.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.2868, allocations: 464.6 kB / 0.5172 GB, free: 81.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.2868, allocations: 0 / 0.5172 GB, free: 81.93 MB / 410.7 MB Notification: Performance of Templates: time 0.03054/0.3173, allocations: 21.71 MB / 0.5383 GB, free: 60.7 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.165451277047396]