Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 173 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007553/0.0007553, allocations: 99.06 kB / 270.8 MB, free: 8.133 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3474/0.3474, allocations: 43.68 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002949, allocations: 11.98 kB / 432.3 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1007, allocations: 58.85 MB / 491.2 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.1866/0.2874, allocations: 27.22 MB / 0.5062 GB, free: 30.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.3012, allocations: 9.399 MB / 0.5154 GB, free: 23.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004748/0.306, allocations: 117.6 kB / 0.5155 GB, free: 23.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.3072, allocations: 444.8 kB / 0.5159 GB, free: 23.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.311, allocations: 1.679 MB / 0.5176 GB, free: 22.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.3119, allocations: 451.7 kB / 0.518 GB, free: 22.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004458/0.3164, allocations: 5.134 MB / 0.523 GB, free: 20.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/0.3192, allocations: 2.747 MB / 0.5257 GB, free: 19.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.3204, allocations: 1.073 MB / 0.5268 GB, free: 18.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.322, allocations: 1.723 MB / 0.5284 GB, free: 18.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.3223, allocations: 134 kB / 0.5286 GB, free: 18.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.3237, allocations: 0.8861 MB / 0.5294 GB, free: 18.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009426/0.3247, allocations: 1.523 MB / 0.5309 GB, free: 17.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.3259, allocations: 1.844 MB / 0.5327 GB, free: 16.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004876/0.3308, allocations: 5.879 MB / 0.5385 GB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3308, allocations: 0 / 0.5385 GB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3308, allocations: 0 / 0.5385 GB, free: 14.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001242/0.3309, allocations: 0 / 0.5385 GB, free: 14.71 MB / 378.7 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.005667/0.3366, allocations: 3.471 MB / 0.5419 GB, free: 12.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3367, allocations: 9.031 kB / 0.5419 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009801/0.3465, allocations: 3.166 MB / 0.545 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.3501, allocations: 1.951 MB / 0.5469 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.3502, allocations: 196.5 kB / 0.547 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005704/0.3508, allocations: 256.9 kB / 0.5473 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.3647, allocations: 10.69 MB / 0.5577 GB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.751e-05/0.3649, allocations: 30.25 kB / 0.5578 GB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003448/0.3652, allocations: 124.8 kB / 0.5579 GB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003595/0.3688, allocations: 2.646 MB / 0.5605 GB, free: 1.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01767/0.3865, allocations: 9.983 MB / 0.5702 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04944/0.436, allocations: 35.3 MB / 0.6047 GB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008852/0.4449, allocations: 5.167 MB / 0.6097 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.448, allocations: 2.291 MB / 0.612 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001663/0.4497, allocations: 1.876 MB / 0.6138 GB, free: 9.285 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.4497, allocations: 52.56 kB / 0.6139 GB, free: 9.227 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 5e-06/0.4497, allocations: 0 / 0.6139 GB, free: 9.227 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.0304/0.4801, allocations: 13.97 MB / 0.6275 GB, free: 11.19 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.4803, allocations: 77.34 kB / 0.6276 GB, free: 11.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004278/0.4845, allocations: 2.653 MB / 0.6302 GB, free: 8.434 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002095/0.4848, allocations: 61.69 kB / 0.6302 GB, free: 8.367 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001866/0.4866, allocations: 2.713 MB / 0.6329 GB, free: 5.613 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000797/0.4874, allocations: 0.8441 MB / 0.6337 GB, free: 4.758 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.4877, allocations: 104 kB / 0.6338 GB, free: 4.656 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003353/0.488, allocations: 0.5333 MB / 0.6343 GB, free: 4.117 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003134/0.4912, allocations: 2.2 MB / 0.6365 GB, free: 1.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004927/0.4961, allocations: 5.115 MB / 0.6415 GB, free: 11.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009036/0.5051, allocations: 8.027 MB / 0.6493 GB, free: 1.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.687e-05/0.5053, allocations: 32 kB / 0.6493 GB, free: 1.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01337/0.5186, allocations: 7.911 MB / 0.6571 GB, free: 9.949 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-05/0.5187, allocations: 48 kB / 0.6571 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/0.5189, allocations: 100 kB / 0.6572 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002232/0.5211, allocations: 0.8006 MB / 0.658 GB, free: 9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/0.5248, allocations: 1.205 MB / 0.6592 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005351/0.5302, allocations: 4.207 MB / 0.6633 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/0.5335, allocations: 295.8 kB / 0.6636 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004981/0.534, allocations: 308.5 kB / 0.6638 GB, free: 2.859 MB / 490.7 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.003678/0.5377, allocations: 2.059 MB / 0.6659 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003962/0.5381, allocations: 260.5 kB / 0.6661 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007815/0.5459, allocations: 4.718 MB / 0.6707 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-05/0.546, allocations: 39.98 kB / 0.6707 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.5461, allocations: 4 kB / 0.6708 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/0.5461, allocations: 11.95 kB / 0.6708 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/0.5635, allocations: 10.6 MB / 0.6811 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.5635, allocations: 8 kB / 0.6811 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.565, allocations: 363.4 kB / 0.6815 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2193/0.7843, allocations: 0.6502 MB / 0.6821 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005021/0.7849, allocations: 42.27 kB / 0.6821 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004661/0.7895, allocations: 3.65 MB / 0.6857 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.946e-06/0.7895, allocations: 15.78 kB / 0.6857 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.7997, allocations: 7.117 MB / 0.6927 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.8013, allocations: 0.6464 MB / 0.6933 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/0.8016, allocations: 43.34 kB / 0.6933 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.8027, allocations: 142 kB / 0.6935 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003438/0.8031, allocations: 141.8 kB / 0.6936 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.8033, allocations: 63.5 kB / 0.6937 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002602/0.8059, allocations: 1.633 MB / 0.6953 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8059, allocations: 0 / 0.6953 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004055/0.8099, allocations: 0.9354 MB / 0.6962 GB, free: 149.7 MB / 0.4948 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.0004043/0.8103, allocations: 188.2 kB / 0.6964 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007292/0.8177, allocations: 5.355 MB / 0.7016 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.8177, allocations: 2.875 kB / 0.7016 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002275/0.82, allocations: 2.016 MB / 0.7036 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/0.8239, allocations: 340.8 kB / 0.7039 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/0.8415, allocations: 11.76 MB / 0.7154 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004527/0.846, allocations: 3.223 MB / 0.7185 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005222/0.8513, allocations: 1.973 MB / 0.7204 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007749/0.8521, allocations: 206.1 kB / 0.7206 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/0.8521, allocations: 0 / 0.7206 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.05075/0.9029, allocations: 29.44 MB / 0.7494 GB, free: 123.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches