Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009031/0.0009031, allocations: 96.98 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.0009381/0.0009382, allocations: 174.7 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.354/1.354, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3685/0.3685, allocations: 43.54 MB / 314.5 MB, free: 8.98 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.0004912/0.0004912, allocations: 20 kB / 383.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1432, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.2753/0.4186, allocations: 56.71 MB / 499.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02953/0.4482, allocations: 13.01 MB / 0.5005 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01057/0.4588, allocations: 281.3 kB / 0.5007 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009523/0.4683, allocations: 2.829 MB / 0.5035 GB, free: 4.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0298/0.4981, allocations: 8.082 MB / 0.5114 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004728/0.5029, allocations: 0.6235 MB / 0.512 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006851/0.5098, allocations: 2.503 MB / 0.5145 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0114/0.5212, allocations: 5.971 MB / 0.5203 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/0.5251, allocations: 1.2 MB / 0.5215 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003646/0.5287, allocations: 1.612 MB / 0.523 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001433/0.5302, allocations: 174.8 kB / 0.5232 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.5332, allocations: 0.7869 MB / 0.524 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002684/0.5359, allocations: 1.848 MB / 0.5258 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.5377, allocations: 1.008 MB / 0.5268 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007314/0.5451, allocations: 6.64 MB / 0.5332 GB, free: 3.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5451, allocations: 0 / 0.5332 GB, free: 3.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5451, allocations: 0 / 0.5332 GB, free: 3.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002174/0.5453, allocations: 0 / 0.5332 GB, free: 3.391 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.01694/0.5623, allocations: 5.57 MB / 0.5387 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5623, allocations: 12.03 kB / 0.5387 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008133/0.5705, allocations: 2.333 MB / 0.541 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006822/0.5773, allocations: 2.939 MB / 0.5438 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/0.5777, allocations: 307.8 kB / 0.5441 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001797/0.5795, allocations: 403.7 kB / 0.5445 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02888/0.6084, allocations: 13.01 MB / 0.5572 GB, free: 9.949 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001904/0.6087, allocations: 47.55 kB / 0.5573 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/0.6097, allocations: 187.8 kB / 0.5574 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004587/0.6143, allocations: 2.378 MB / 0.5598 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02565/0.64, allocations: 11.92 MB / 0.5714 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07107/0.7111, allocations: 48.13 MB / 0.6184 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01833/0.7295, allocations: 5.845 MB / 0.6241 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.7306, allocations: 0.7026 MB / 0.6248 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.7307, allocations: 55.81 kB / 0.6249 GB, free: 3.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 5.711e-06/0.7307, allocations: 0 / 0.6249 GB, free: 3.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.3098/1.04, allocations: 29.25 MB / 0.6534 GB, free: 133.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.434e-05/1.041, allocations: 160.2 kB / 0.6536 GB, free: 133.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01133/1.052, allocations: 4.626 MB / 0.6581 GB, free: 131.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008979/1.053, allocations: 61.95 kB / 0.6582 GB, free: 131.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004115/1.057, allocations: 3.543 MB / 0.6616 GB, free: 128.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002413/1.059, allocations: 0.9532 MB / 0.6625 GB, free: 128.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001643/1.061, allocations: 138.4 kB / 0.6627 GB, free: 128 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0007647/1.062, allocations: 0.5922 MB / 0.6633 GB, free: 127.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01008/1.072, allocations: 3.423 MB / 0.6666 GB, free: 126.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0136/1.086, allocations: 7.329 MB / 0.6738 GB, free: 120.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/1.096, allocations: 4.888 MB / 0.6785 GB, free: 118.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002935/1.097, allocations: 40.44 kB / 0.6786 GB, free: 118.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=892) (initialization): time 0.02417/1.121, allocations: 11.71 MB / 0.69 GB, free: 114.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002134/1.121, allocations: 65.72 kB / 0.6901 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003423/1.122, allocations: 137.8 kB / 0.6902 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002732/1.124, allocations: 1.151 MB / 0.6913 GB, free: 113.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006694/1.131, allocations: 1.779 MB / 0.6931 GB, free: 111.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006785/1.138, allocations: 6.107 MB / 0.699 GB, free: 106.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008279/1.146, allocations: 424.6 kB / 0.6994 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002055/1.148, allocations: 454.9 kB / 0.6999 GB, free: 105.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 849 * Array equations: 3 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006727/1.155, allocations: 2.43 MB / 0.7022 GB, free: 103.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/1.157, allocations: 418.7 kB / 0.7026 GB, free: 103.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009605/1.166, allocations: 6.569 MB / 0.7091 GB, free: 96.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/1.166, allocations: 32.55 kB / 0.7091 GB, free: 96.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.166, allocations: 4 kB / 0.7091 GB, free: 96.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-05/1.166, allocations: 12.7 kB / 0.7091 GB, free: 96.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02334/1.19, allocations: 13.71 MB / 0.7225 GB, free: 83.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/1.19, allocations: 10.75 kB / 0.7225 GB, free: 83.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/1.193, allocations: 0.5967 MB / 0.7231 GB, free: 82.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/1.195, allocations: 0.9527 MB / 0.724 GB, free: 81.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004855/1.196, allocations: 91.89 kB / 0.7241 GB, free: 81.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005842/1.202, allocations: 5.841 MB / 0.7298 GB, free: 75.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.202, allocations: 11.94 kB / 0.7298 GB, free: 75.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.215, allocations: 11.52 MB / 0.7411 GB, free: 63.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002844/1.218, allocations: 0.9485 MB / 0.742 GB, free: 62.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.219, allocations: 44 kB / 0.742 GB, free: 62.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002671/1.222, allocations: 191.8 kB / 0.7422 GB, free: 62.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005061/1.223, allocations: 197.4 kB / 0.7424 GB, free: 62.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/1.223, allocations: 112.4 kB / 0.7425 GB, free: 62.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00418/1.227, allocations: 2.925 MB / 0.7454 GB, free: 59.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.227, allocations: 0 / 0.7454 GB, free: 59.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007288/1.234, allocations: 1.287 MB / 0.7466 GB, free: 58.01 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (230): * Single equations (assignments): 226 * Array equations: 3 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000708/1.235, allocations: 207.6 kB / 0.7468 GB, free: 57.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0117/1.247, allocations: 8.082 MB / 0.7547 GB, free: 49.74 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/1.247, allocations: 4 kB / 0.7547 GB, free: 49.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003964/1.251, allocations: 3.199 MB / 0.7578 GB, free: 46.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/1.254, allocations: 454.4 kB / 0.7583 GB, free: 46.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/1.276, allocations: 14.67 MB / 0.7726 GB, free: 31.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004082/1.28, allocations: 3.907 MB / 0.7764 GB, free: 27.42 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005861/1.286, allocations: 2.368 MB / 0.7787 GB, free: 25.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/1.288, allocations: 431.1 kB / 0.7791 GB, free: 24.62 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/1.288, allocations: 0 / 0.7791 GB, free: 24.62 MB / 494.1 MB Notification: Performance of Templates: time 0.327/1.615, allocations: 54.75 MB / 0.8326 GB, free: 138.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches