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.001141/0.001141, allocations: 97.25 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 176.4 kB / 16.58 MB, free: 5.672 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.773/1.773, allocations: 205.4 MB / 222.7 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.432/0.432, allocations: 43.57 MB / 314.6 MB, free: 8.77 MB / 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.00054/0.00054, allocations: 16 kB / 383.9 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1363, allocations: 58.87 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2617/0.3981, allocations: 27.13 MB / 470 MB, free: 35.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.4123, allocations: 6.439 MB / 476.4 MB, free: 31.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005911/0.4183, allocations: 119 kB / 476.5 MB, free: 31.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004581/0.4229, allocations: 1.287 MB / 477.8 MB, free: 30.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.4342, allocations: 4.006 MB / 481.8 MB, free: 29.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.4362, allocations: 420.1 kB / 482.2 MB, free: 29.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004578/0.4408, allocations: 3.948 MB / 486.2 MB, free: 27.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003841/0.4447, allocations: 2.277 MB / 488.4 MB, free: 26.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.4469, allocations: 1.049 MB / 489.5 MB, free: 26.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.4497, allocations: 1.698 MB / 491.2 MB, free: 26.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000893/0.4506, allocations: 132.9 kB / 491.3 MB, free: 26.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.453, allocations: 0.7526 MB / 492.1 MB, free: 25.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002516/0.4556, allocations: 1.494 MB / 493.6 MB, free: 25.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.4572, allocations: 0.7679 MB / 494.3 MB, free: 24.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007194/0.4644, allocations: 4.801 MB / 499.1 MB, free: 23.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.4645, allocations: 1.281 kB / 499.1 MB, free: 23.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4645, allocations: 0 / 499.1 MB, free: 23.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002413/0.4647, allocations: 0 / 499.1 MB, free: 23.86 MB / 382.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.008284/0.473, allocations: 3.522 MB / 0.4909 GB, free: 21.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4731, allocations: 10.52 kB / 0.4909 GB, free: 21.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.4838, allocations: 3.168 MB / 0.494 GB, free: 20.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005025/0.4889, allocations: 1.926 MB / 0.4959 GB, free: 18.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.4892, allocations: 202 kB / 0.4961 GB, free: 18.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/0.4906, allocations: 253.7 kB / 0.4963 GB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02123/0.5118, allocations: 10.7 MB / 0.5067 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.512, allocations: 24.19 kB / 0.5068 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005425/0.5126, allocations: 115.5 kB / 0.5069 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00455/0.5171, allocations: 2.648 MB / 0.5095 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01807/0.5352, allocations: 9.983 MB / 0.5192 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05768/0.593, allocations: 35.28 MB / 0.5537 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.6038, allocations: 5.174 MB / 0.5587 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00371/0.6075, allocations: 2.287 MB / 0.5609 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001981/0.6095, allocations: 1.884 MB / 0.5628 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.085e-05/0.6096, allocations: 52.56 kB / 0.5628 GB, free: 3.285 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 7.695e-06/0.6096, allocations: 0 / 0.5628 GB, free: 3.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03525/0.6449, allocations: 13.97 MB / 0.5765 GB, free: 5.258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.645, allocations: 73.41 kB / 0.5765 GB, free: 5.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004564/0.6496, allocations: 2.657 MB / 0.5791 GB, free: 2.496 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003335/0.65, allocations: 53.7 kB / 0.5792 GB, free: 2.438 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001983/0.6519, allocations: 2.713 MB / 0.5818 GB, free: 15.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.6532, allocations: 0.8479 MB / 0.5827 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.6534, allocations: 108 kB / 0.5828 GB, free: 14.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003375/0.6538, allocations: 0.5447 MB / 0.5833 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003435/0.6572, allocations: 2.189 MB / 0.5854 GB, free: 11.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00567/0.6629, allocations: 5.123 MB / 0.5904 GB, free: 5.418 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005732/0.6687, allocations: 3.342 MB / 0.5937 GB, free: 2.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-05/0.6687, allocations: 28 kB / 0.5937 GB, free: 2.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01529/0.684, allocations: 7.911 MB / 0.6015 GB, free: 10.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.869e-05/0.6842, allocations: 48 kB / 0.6015 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/0.6843, allocations: 103.9 kB / 0.6016 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/0.6865, allocations: 0.8045 MB / 0.6024 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00444/0.6909, allocations: 1.205 MB / 0.6036 GB, free: 7.957 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005864/0.6968, allocations: 4.202 MB / 0.6077 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004476/0.7013, allocations: 307.8 kB / 0.608 GB, free: 3.316 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008179/0.7022, allocations: 304 kB / 0.6083 GB, free: 3.02 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005225/0.7074, allocations: 2.051 MB / 0.6103 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005822/0.708, allocations: 264.5 kB / 0.6105 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007961/0.7159, allocations: 4.722 MB / 0.6151 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.148e-05/0.716, allocations: 47.94 kB / 0.6152 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.7161, allocations: 3.984 kB / 0.6152 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.7161, allocations: 7.969 kB / 0.6152 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02226/0.7383, allocations: 10.58 MB / 0.6255 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.7384, allocations: 4 kB / 0.6255 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.74, allocations: 359.4 kB / 0.6259 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.7419, allocations: 0.6608 MB / 0.6265 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/0.7421, allocations: 36 kB / 0.6265 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2611/1.003, allocations: 3.655 MB / 0.6301 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.003, allocations: 12.66 kB / 0.6301 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008897/1.012, allocations: 7.112 MB / 0.6371 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.013, allocations: 0.6499 MB / 0.6377 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004089/1.014, allocations: 44.44 kB / 0.6377 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/1.015, allocations: 140.2 kB / 0.6379 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/1.015, allocations: 133.9 kB / 0.638 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.015, allocations: 75.45 kB / 0.6381 GB, free: 138.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002379/1.018, allocations: 1.613 MB / 0.6397 GB, free: 138.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.018, allocations: 0 / 0.6397 GB, free: 138.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004131/1.022, allocations: 0.9444 MB / 0.6406 GB, free: 138 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004296/1.022, allocations: 175.1 kB / 0.6407 GB, free: 137.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008612/1.031, allocations: 5.36 MB / 0.646 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.031, allocations: 0 / 0.646 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00247/1.033, allocations: 2.012 MB / 0.6479 GB, free: 135.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/1.036, allocations: 341.8 kB / 0.6483 GB, free: 135.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/1.054, allocations: 11.36 MB / 0.6594 GB, free: 129.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003605/1.057, allocations: 3.229 MB / 0.6625 GB, free: 128.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005087/1.062, allocations: 1.969 MB / 0.6644 GB, free: 128.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007826/1.063, allocations: 204.8 kB / 0.6646 GB, free: 128.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.583e-06/1.063, allocations: 0 / 0.6646 GB, free: 128.2 MB / 494.1 MB Notification: Performance of Templates: time 0.05224/1.116, allocations: 28.78 MB / 0.6927 GB, free: 111.7 MB / 494.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 -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