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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001287, allocations: 110.1 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2186/0.2186, allocations: 43.51 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 65.61 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1206, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01229/0.1329, allocations: 12.66 MB / 454.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008292/0.1413, allocations: 3.976 MB / 458.6 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.1434, allocations: 63.88 kB / 458.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00314/0.1466, allocations: 1.323 MB / 460 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004679/0.1513, allocations: 1.778 MB / 461.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.1526, allocations: 495 kB / 462.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005724/0.1584, allocations: 3.668 MB / 465.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004322/0.1627, allocations: 2.04 MB / 468 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.1659, allocations: 1.238 MB / 469.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00386/0.1698, allocations: 1.744 MB / 470.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.1711, allocations: 244 kB / 471.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.1747, allocations: 0.9322 MB / 472.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003012/0.1777, allocations: 1.632 MB / 473.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003496/0.1812, allocations: 1.945 MB / 475.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.192, allocations: 6.359 MB / 482.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.1921, allocations: 3.938 kB / 482.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1921, allocations: 4 kB / 482.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002263/0.1923, allocations: 4 kB / 482.1 MB, free: 13.88 MB / 366.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.01511/0.2074, allocations: 4.234 MB / 486.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.2075, allocations: 11.89 kB / 486.3 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.2181, allocations: 3.08 MB / 489.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005631/0.2238, allocations: 1.967 MB / 491.4 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.224, allocations: 193.2 kB / 491.5 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008866/0.2249, allocations: 259.9 kB / 491.8 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/0.2414, allocations: 10.71 MB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-05/0.2416, allocations: 19.81 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003886/0.242, allocations: 127.8 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00436/0.2463, allocations: 2.643 MB / 0.4935 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01937/0.2657, allocations: 10.02 MB / 0.5032 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3037/0.5695, allocations: 35.07 MB / 0.5375 GB, free: 66.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.5797, allocations: 5.177 MB / 0.5425 GB, free: 65.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003158/0.5829, allocations: 2.299 MB / 0.5448 GB, free: 65.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/0.5846, allocations: 1.885 MB / 0.5466 GB, free: 63.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.5846, allocations: 50.94 kB / 0.5467 GB, free: 63.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=229): time 5.36e-06/0.5846, allocations: 1.172 kB / 0.5467 GB, free: 63.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=235): time 0.02923/0.6139, allocations: 14.03 MB / 0.5604 GB, free: 60.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.6139, allocations: 78.91 kB / 0.5605 GB, free: 60.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/0.6174, allocations: 2.674 MB / 0.5631 GB, free: 59.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003117/0.6177, allocations: 56.86 kB / 0.5631 GB, free: 59.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001486/0.6192, allocations: 2.707 MB / 0.5658 GB, free: 57.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007511/0.62, allocations: 0.8431 MB / 0.5666 GB, free: 56.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.6212, allocations: 1.053 MB / 0.5676 GB, free: 56.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.6212, allocations: 301.1 kB / 0.5679 GB, free: 55.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/0.6237, allocations: 2.222 MB / 0.5701 GB, free: 54.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003766/0.6275, allocations: 5.136 MB / 0.5751 GB, free: 47.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006816/0.6343, allocations: 8.061 MB / 0.583 GB, free: 38.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.105e-05/0.6344, allocations: 28 kB / 0.583 GB, free: 38.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.009922/0.6443, allocations: 7.951 MB / 0.5908 GB, free: 30.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.6444, allocations: 56.95 kB / 0.5908 GB, free: 30.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.533e-05/0.6445, allocations: 103.9 kB / 0.5909 GB, free: 30.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.6463, allocations: 0.7948 MB / 0.5917 GB, free: 29.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/0.6494, allocations: 1.209 MB / 0.5929 GB, free: 28.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004305/0.6537, allocations: 4.52 MB / 0.5973 GB, free: 23.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/0.6567, allocations: 302.8 kB / 0.5976 GB, free: 23.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/0.657, allocations: 304 kB / 0.5979 GB, free: 23.11 MB / 414.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.002523/0.6596, allocations: 2.052 MB / 0.5999 GB, free: 21.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.6599, allocations: 256.6 kB / 0.6001 GB, free: 20.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006075/0.666, allocations: 4.732 MB / 0.6047 GB, free: 16.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.596e-05/0.6661, allocations: 51.5 kB / 0.6048 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6661, allocations: 5.344 kB / 0.6048 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.6661, allocations: 7.969 kB / 0.6048 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/0.6799, allocations: 10.58 MB / 0.6151 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.68, allocations: 8.906 kB / 0.6151 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.6813, allocations: 363.4 kB / 0.6155 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.683, allocations: 0.6599 MB / 0.6161 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.6832, allocations: 44 kB / 0.6162 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/0.6871, allocations: 3.905 MB / 0.62 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6871, allocations: 15.88 kB / 0.62 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/0.6973, allocations: 7.144 MB / 0.627 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/0.6992, allocations: 0.6459 MB / 0.6276 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003944/0.6996, allocations: 36 kB / 0.6276 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.7008, allocations: 147.6 kB / 0.6278 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003398/0.7011, allocations: 133 kB / 0.6279 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.7013, allocations: 60 kB / 0.628 GB, free: 7.879 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002396/0.7037, allocations: 1.652 MB / 0.6296 GB, free: 6.219 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7037, allocations: 4 kB / 0.6296 GB, free: 6.215 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003736/0.7075, allocations: 0.9407 MB / 0.6305 GB, free: 5.277 MB / 430.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.000418/0.7079, allocations: 177.4 kB / 0.6307 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007532/0.7154, allocations: 5.416 MB / 0.6359 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.7155, allocations: 4 kB / 0.636 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002481/0.718, allocations: 2.026 MB / 0.6379 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.7197, allocations: 355.5 kB / 0.6383 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.7334, allocations: 9.499 MB / 0.6475 GB, free: 3.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003405/0.7369, allocations: 3.225 MB / 0.6507 GB, free: 492 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004048/0.7409, allocations: 1.978 MB / 0.6526 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006456/0.7416, allocations: 203.3 kB / 0.6528 GB, free: 14.3 MB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.7416, allocations: 0 / 0.6528 GB, free: 14.3 MB / 462.1 MB Notification: Performance of Templates: time 0.0513/0.7929, allocations: 27.12 MB / 0.6793 GB, free: 3.371 MB / 478.1 MB 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches