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.0008515/0.0008515, allocations: 97.22 kB / 15.69 MB, free: 480 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.0008599/0.0008599, allocations: 175.8 kB / 16.57 MB, free: 6.391 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.404/1.404, allocations: 205.4 MB / 222.7 MB, free: 5.688 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.3244/0.3244, allocations: 43.55 MB / 314.5 MB, free: 8.75 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.0005393/0.0005395, allocations: 12 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1373, allocations: 58.85 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2394/0.3767, allocations: 25.67 MB / 468.4 MB, free: 35.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.3895, allocations: 6.676 MB / 475.1 MB, free: 32.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005228/0.3947, allocations: 120.4 kB / 475.2 MB, free: 32.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.3976, allocations: 1.296 MB / 476.5 MB, free: 31.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.4088, allocations: 3.944 MB / 480.5 MB, free: 30.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.4099, allocations: 404.3 kB / 480.8 MB, free: 30 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00263/0.4125, allocations: 1.991 MB / 482.8 MB, free: 29.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.4151, allocations: 2.271 MB / 485.1 MB, free: 28.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.4161, allocations: 0.8841 MB / 486 MB, free: 27.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.4173, allocations: 1.223 MB / 487.2 MB, free: 27.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003129/0.4176, allocations: 132.9 kB / 487.3 MB, free: 27.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.419, allocations: 0.7325 MB / 488.1 MB, free: 27.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008534/0.4198, allocations: 1.395 MB / 489.5 MB, free: 26.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006351/0.4205, allocations: 0.7685 MB / 490.2 MB, free: 26.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006158/0.4266, allocations: 4.807 MB / 495 MB, free: 25.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4267, allocations: 0 / 495 MB, free: 25.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4267, allocations: 0 / 495 MB, free: 25.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000216/0.4269, allocations: 1 kB / 495 MB, free: 25.42 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.007912/0.4348, allocations: 3.589 MB / 498.6 MB, free: 23.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4349, allocations: 13.41 kB / 498.7 MB, free: 23.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.4478, allocations: 3.731 MB / 0.4906 GB, free: 22.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006277/0.4541, allocations: 2.122 MB / 0.4927 GB, free: 21.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.4543, allocations: 194.7 kB / 0.4929 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009173/0.4552, allocations: 252.8 kB / 0.4931 GB, free: 21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.4744, allocations: 10.75 MB / 0.5036 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.429e-05/0.4745, allocations: 30.31 kB / 0.5036 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003994/0.4749, allocations: 128.4 kB / 0.5038 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004192/0.4791, allocations: 2.635 MB / 0.5063 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/0.4964, allocations: 10.08 MB / 0.5162 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0605/0.557, allocations: 35.38 MB / 0.5507 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.5681, allocations: 5.184 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002002/0.5702, allocations: 1.876 MB / 0.5576 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/0.5703, allocations: 52.56 kB / 0.5577 GB, free: 8.508 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 7.083e-06/0.5703, allocations: 0 / 0.5577 GB, free: 8.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03774/0.608, allocations: 14.56 MB / 0.5719 GB, free: 9.777 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.6081, allocations: 73.41 kB / 0.572 GB, free: 9.691 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005511/0.6137, allocations: 2.775 MB / 0.5747 GB, free: 6.898 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005673/0.6143, allocations: 61.64 kB / 0.5747 GB, free: 6.832 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002309/0.6166, allocations: 2.705 MB / 0.5774 GB, free: 4.086 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00146/0.6181, allocations: 0.8517 MB / 0.5782 GB, free: 3.223 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005976/0.6187, allocations: 104 kB / 0.5783 GB, free: 3.121 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005569/0.6192, allocations: 0.5371 MB / 0.5788 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004293/0.6235, allocations: 2.189 MB / 0.581 GB, free: 392 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005926/0.6295, allocations: 5.083 MB / 0.5859 GB, free: 9.867 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005995/0.6355, allocations: 3.334 MB / 0.5892 GB, free: 6.527 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.975e-05/0.6356, allocations: 28 kB / 0.5892 GB, free: 6.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01602/0.6516, allocations: 7.891 MB / 0.5969 GB, free: 14.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.181e-05/0.6518, allocations: 48 kB / 0.597 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/0.6519, allocations: 100 kB / 0.5971 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002237/0.6542, allocations: 0.8068 MB / 0.5978 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004111/0.6583, allocations: 1.201 MB / 0.599 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005681/0.664, allocations: 4.297 MB / 0.6032 GB, free: 8.008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/0.6682, allocations: 303.8 kB / 0.6035 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/0.6694, allocations: 307.9 kB / 0.6038 GB, free: 7.41 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 (640): * Single equations (assignments): 633 * 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.005076/0.6745, allocations: 2.059 MB / 0.6058 GB, free: 5.336 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007316/0.6752, allocations: 264.5 kB / 0.6061 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009283/0.6845, allocations: 4.706 MB / 0.6107 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.936e-05/0.6847, allocations: 51.97 kB / 0.6107 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.6847, allocations: 0 / 0.6107 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.699e-05/0.6847, allocations: 7.969 kB / 0.6107 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02466/0.7094, allocations: 10.6 MB / 0.6211 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/0.7094, allocations: 8.906 kB / 0.6211 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/0.7112, allocations: 359.5 kB / 0.6214 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002107/0.7133, allocations: 0.6561 MB / 0.6221 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/0.7136, allocations: 43.98 kB / 0.6221 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004652/0.7183, allocations: 3.749 MB / 0.6258 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.7183, allocations: 11.94 kB / 0.6258 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2482/0.9666, allocations: 7.684 MB / 0.6333 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/0.9687, allocations: 0.6493 MB / 0.6339 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/0.9691, allocations: 38.84 kB / 0.6339 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.9704, allocations: 141.6 kB / 0.6341 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/0.9707, allocations: 140.2 kB / 0.6342 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.9709, allocations: 65.72 kB / 0.6343 GB, free: 140.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00265/0.9735, allocations: 1.711 MB / 0.6359 GB, free: 140 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9735, allocations: 0 / 0.6359 GB, free: 140 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004997/0.9785, allocations: 0.9684 MB / 0.6369 GB, free: 140 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.0006815/0.9792, allocations: 188.8 kB / 0.6371 GB, free: 139.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009362/0.9886, allocations: 5.351 MB / 0.6423 GB, free: 138.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.9886, allocations: 0 / 0.6423 GB, free: 138.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.9912, allocations: 2.014 MB / 0.6443 GB, free: 137.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.993, allocations: 315.2 kB / 0.6446 GB, free: 137.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/1.012, allocations: 11.3 MB / 0.6556 GB, free: 131.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00402/1.016, allocations: 3.316 MB / 0.6588 GB, free: 130.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005184/1.021, allocations: 1.971 MB / 0.6608 GB, free: 130.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008328/1.022, allocations: 206.9 kB / 0.661 GB, free: 130.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/1.022, allocations: 0 / 0.661 GB, free: 130.2 MB / 494.1 MB Notification: Performance of Templates: time 0.05324/1.075, allocations: 29.37 MB / 0.6896 GB, free: 114 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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