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.0008556/0.0008556, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005527/0.005527, allocations: 160 kB / 24.7 MB, free: 8.895 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.8317/0.8317, allocations: 177.2 MB / 205 MB, free: 5.73 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.2149/0.2149, allocations: 34.25 MB / 295.7 MB, free: 0.6914 MB / 266.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.463e-06/1.463e-06, allocations: 0 / 443.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.594e-05, allocations: 8.812 kB / 443.5 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.161/0.161, allocations: 10.72 MB / 454.2 MB, free: 38.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004505/0.1655, allocations: 3.755 MB / 457.9 MB, free: 35.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006966/0.1662, allocations: 69.34 kB / 458 MB, free: 35.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.1674, allocations: 1.344 MB / 459.3 MB, free: 35.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.1694, allocations: 1.842 MB / 461.2 MB, free: 34.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.17, allocations: 0.5097 MB / 461.7 MB, free: 34.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001916/0.172, allocations: 3.981 MB / 465.7 MB, free: 32.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.1732, allocations: 2.081 MB / 467.8 MB, free: 32.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.1743, allocations: 1.839 MB / 469.6 MB, free: 31.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.1755, allocations: 1.926 MB / 471.5 MB, free: 30.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.1757, allocations: 248.9 kB / 471.8 MB, free: 30.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008724/0.1766, allocations: 0.9106 MB / 472.7 MB, free: 30.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000635/0.1772, allocations: 1.674 MB / 474.3 MB, free: 29.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005638/0.1778, allocations: 0.9992 MB / 475.3 MB, free: 29.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003511/0.1813, allocations: 6.166 MB / 481.5 MB, free: 27.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.1813, allocations: 4.688 kB / 481.5 MB, free: 27.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1813, allocations: 0.9375 kB / 481.5 MB, free: 27.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.171e-05/0.1814, allocations: 0 / 481.5 MB, free: 27.26 MB / 410.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.005199/0.1866, allocations: 4.165 MB / 485.7 MB, free: 24.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1867, allocations: 9.812 kB / 485.7 MB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006182/0.1928, allocations: 3.152 MB / 488.8 MB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.1954, allocations: 1.814 MB / 490.7 MB, free: 23.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.1955, allocations: 193.5 kB / 490.8 MB, free: 23.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003864/0.1959, allocations: 252.1 kB / 491.1 MB, free: 23.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.2066, allocations: 10.49 MB / 0.4898 GB, free: 18.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.244e-05/0.2067, allocations: 30.42 kB / 0.4899 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002634/0.207, allocations: 123.3 kB / 0.49 GB, free: 18.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002309/0.2093, allocations: 2.552 MB / 0.4925 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00978/0.2191, allocations: 9.906 MB / 0.5021 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02527/0.2443, allocations: 31.85 MB / 0.5332 GB, free: 8.719 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004815/0.2491, allocations: 4.143 MB / 0.5373 GB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.2511, allocations: 2.129 MB / 0.5394 GB, free: 2.445 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005991/0.2517, allocations: 0.5477 MB / 0.5399 GB, free: 1.898 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2517, allocations: 56.5 kB / 0.54 GB, free: 1.832 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 3.807e-06/0.2517, allocations: 0 / 0.54 GB, free: 1.832 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.01866/0.2704, allocations: 14.35 MB / 0.554 GB, free: 3.477 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.2704, allocations: 69.41 kB / 0.554 GB, free: 3.395 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.2726, allocations: 2.691 MB / 0.5567 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.344e-05/0.2727, allocations: 53.7 kB / 0.5567 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009934/0.2736, allocations: 2.741 MB / 0.5594 GB, free: 13.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006762/0.2743, allocations: 0.8757 MB / 0.5603 GB, free: 12.96 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008471/0.2752, allocations: 1.029 MB / 0.5613 GB, free: 11.92 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.2753, allocations: 361.9 kB / 0.5616 GB, free: 11.56 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.2771, allocations: 2.208 MB / 0.5638 GB, free: 9.348 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003179/0.2803, allocations: 5.067 MB / 0.5687 GB, free: 2.875 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005447/0.2857, allocations: 7.969 MB / 0.5765 GB, free: 9.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.762e-05/0.2858, allocations: 31.98 kB / 0.5765 GB, free: 9.469 MB / 490.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.007316/0.2931, allocations: 7.874 MB / 0.5842 GB, free: 1.578 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.2931, allocations: 49.09 kB / 0.5843 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.718e-05/0.2932, allocations: 108.1 kB / 0.5844 GB, free: 1.426 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.2944, allocations: 0.7889 MB / 0.5851 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.2963, allocations: 1.181 MB / 0.5863 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00357/0.2999, allocations: 4.378 MB / 0.5906 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.3016, allocations: 323.7 kB / 0.5909 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/0.3018, allocations: 296 kB / 0.5911 GB, free: 10.37 MB / 0.4948 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.002582/0.3044, allocations: 2.022 MB / 0.5931 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.3046, allocations: 262.3 kB / 0.5934 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/0.3091, allocations: 4.707 MB / 0.598 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/0.3091, allocations: 47.98 kB / 0.598 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3091, allocations: 2.125 kB / 0.598 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.3092, allocations: 7.969 kB / 0.598 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009401/0.3186, allocations: 9.266 MB / 0.6071 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.3186, allocations: 8 kB / 0.6071 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.3193, allocations: 363.4 kB / 0.6074 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.3204, allocations: 0.6606 MB / 0.6081 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.853e-05/0.3204, allocations: 36 kB / 0.6081 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002967/0.3234, allocations: 3.765 MB / 0.6118 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3234, allocations: 11.94 kB / 0.6118 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006195/0.3296, allocations: 7.119 MB / 0.6187 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.33, allocations: 238.3 kB / 0.619 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.3301, allocations: 43.73 kB / 0.619 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000657/0.3308, allocations: 171.7 kB / 0.6192 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.331, allocations: 144.8 kB / 0.6193 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.18e-05/0.3311, allocations: 72.03 kB / 0.6194 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001525/0.3326, allocations: 1.536 MB / 0.6209 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3326, allocations: 0 / 0.6209 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002508/0.3351, allocations: 0.9882 MB / 0.6219 GB, free: 10.51 MB / 0.5261 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.0003532/0.3355, allocations: 190.8 kB / 0.622 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004402/0.3399, allocations: 5.154 MB / 0.6271 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3399, allocations: 0 / 0.6271 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.3415, allocations: 1.87 MB / 0.6289 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009314/0.3424, allocations: 288.3 kB / 0.6292 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1643/0.5067, allocations: 9.916 MB / 0.6389 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/0.5085, allocations: 2.632 MB / 0.6414 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/0.5093, allocations: 238.2 kB / 0.6417 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/0.5093, allocations: 0 / 0.6417 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.05294/0.5622, allocations: 71.31 MB / 0.7113 GB, free: 115.7 MB / 0.5261 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/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: 7.595944186672568]