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.001118/0.001118, allocations: 105.7 kB / 15.98 MB, free: 6.355 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.001023/0.001023, allocations: 192.3 kB / 16.91 MB, free: 6.191 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.578/1.578, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.3726/0.3726, allocations: 43.5 MB / 313.6 MB, free: 8.508 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.001558/0.001559, allocations: 67.91 kB / 382.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1413, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3493/0.4906, allocations: 66.26 MB / 0.4944 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03414/0.5247, allocations: 12.95 MB / 0.5071 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02015/0.5449, allocations: 282.3 kB / 0.5073 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009005/0.554, allocations: 3.605 MB / 0.5108 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008693/0.5628, allocations: 1.958 MB / 0.5128 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.5661, allocations: 0.7587 MB / 0.5135 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01111/0.5772, allocations: 4.443 MB / 0.5178 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009765/0.5871, allocations: 5.216 MB / 0.5229 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005371/0.5925, allocations: 1.953 MB / 0.5248 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005603/0.5981, allocations: 2.866 MB / 0.5276 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001584/0.5997, allocations: 439.1 kB / 0.5281 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.6034, allocations: 1.171 MB / 0.5292 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0036/0.6071, allocations: 2.365 MB / 0.5315 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005512/0.6126, allocations: 2.781 MB / 0.5342 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.6252, allocations: 8.392 MB / 0.5424 GB, free: 8.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.6253, allocations: 0 / 0.5424 GB, free: 8.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.6253, allocations: 7.875 kB / 0.5424 GB, free: 8.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004323/0.6258, allocations: 4 kB / 0.5424 GB, free: 8.32 MB / 414.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.02452/0.6503, allocations: 6.451 MB / 0.5487 GB, free: 1.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.6504, allocations: 8.031 kB / 0.5487 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007274/0.6577, allocations: 1.986 MB / 0.5507 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006017/0.6637, allocations: 2.788 MB / 0.5534 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.664, allocations: 303.8 kB / 0.5537 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/0.6653, allocations: 407.7 kB / 0.5541 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02763/0.693, allocations: 12.9 MB / 0.5667 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002006/0.6932, allocations: 43.59 kB / 0.5667 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008011/0.694, allocations: 191.8 kB / 0.5669 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004401/0.6985, allocations: 2.37 MB / 0.5692 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02701/0.7255, allocations: 11.8 MB / 0.5807 GB, free: 196 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3317/1.057, allocations: 48.14 MB / 0.6277 GB, free: 132.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01826/1.076, allocations: 5.713 MB / 0.6333 GB, free: 132.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004627/1.08, allocations: 3.599 MB / 0.6368 GB, free: 132.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001/1.081, allocations: 0.6991 MB / 0.6375 GB, free: 131.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/1.081, allocations: 57.58 kB / 0.6376 GB, free: 131.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 6.793e-06/1.081, allocations: 2.281 kB / 0.6376 GB, free: 131.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.08029/1.162, allocations: 28.49 MB / 0.6654 GB, free: 122.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/1.162, allocations: 157.3 kB / 0.6655 GB, free: 122.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00756/1.169, allocations: 4.524 MB / 0.67 GB, free: 121 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007868/1.17, allocations: 61.77 kB / 0.67 GB, free: 120.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002302/1.173, allocations: 3.547 MB / 0.6735 GB, free: 118.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001308/1.174, allocations: 0.9505 MB / 0.6744 GB, free: 117.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001992/1.176, allocations: 1.477 MB / 0.6759 GB, free: 116.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/1.176, allocations: 305.4 kB / 0.6761 GB, free: 116.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004265/1.18, allocations: 3.448 MB / 0.6795 GB, free: 115.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00686/1.187, allocations: 7.393 MB / 0.6867 GB, free: 109.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01743/1.205, allocations: 11.68 MB / 0.6981 GB, free: 100.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000163/1.205, allocations: 38.53 kB / 0.6982 GB, free: 100.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.03079/1.236, allocations: 11.77 MB / 0.7097 GB, free: 91.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002069/1.236, allocations: 68.25 kB / 0.7097 GB, free: 91.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002657/1.236, allocations: 141.2 kB / 0.7099 GB, free: 91.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/1.239, allocations: 1.125 MB / 0.711 GB, free: 90.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00652/1.245, allocations: 1.786 MB / 0.7127 GB, free: 88.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006537/1.252, allocations: 6.345 MB / 0.7189 GB, free: 81.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006552/1.258, allocations: 422.2 kB / 0.7193 GB, free: 81.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001665/1.26, allocations: 467.8 kB / 0.7198 GB, free: 81.09 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 (857): * Single equations (assignments): 853 * Array equations: 3 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006135/1.266, allocations: 2.42 MB / 0.7221 GB, free: 78.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/1.268, allocations: 413 kB / 0.7225 GB, free: 78.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009242/1.277, allocations: 6.559 MB / 0.7289 GB, free: 71.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-05/1.277, allocations: 28 kB / 0.7289 GB, free: 71.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/1.277, allocations: 4 kB / 0.729 GB, free: 71.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-05/1.277, allocations: 7.969 kB / 0.729 GB, free: 71.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/1.3, allocations: 13.77 MB / 0.7424 GB, free: 57.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/1.3, allocations: 0 / 0.7424 GB, free: 57.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002885/1.303, allocations: 0.5975 MB / 0.743 GB, free: 57.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/1.305, allocations: 0.9569 MB / 0.7439 GB, free: 56.26 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003997/1.305, allocations: 83.89 kB / 0.744 GB, free: 56.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005989/1.311, allocations: 6.085 MB / 0.7499 GB, free: 49.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.311, allocations: 4 kB / 0.7499 GB, free: 49.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/1.325, allocations: 11.06 MB / 0.7607 GB, free: 38.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/1.327, allocations: 0.929 MB / 0.7617 GB, free: 37.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00132/1.328, allocations: 47.98 kB / 0.7617 GB, free: 37.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/1.331, allocations: 175.8 kB / 0.7619 GB, free: 37.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005571/1.332, allocations: 197.6 kB / 0.7621 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/1.332, allocations: 112.6 kB / 0.7622 GB, free: 37.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004255/1.336, allocations: 2.839 MB / 0.7649 GB, free: 34.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.42e-07/1.336, allocations: 3.938 kB / 0.7649 GB, free: 34.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008735/1.345, allocations: 1.27 MB / 0.7662 GB, free: 33.22 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (228): * Single equations (assignments): 224 * Array equations: 3 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007525/1.346, allocations: 190.5 kB / 0.7664 GB, free: 33.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01974/1.366, allocations: 10.72 MB / 0.7768 GB, free: 22.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/1.366, allocations: 0 / 0.7768 GB, free: 22.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004931/1.371, allocations: 3.214 MB / 0.78 GB, free: 19.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/1.375, allocations: 0.5224 MB / 0.7805 GB, free: 18.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/1.396, allocations: 15.04 MB / 0.7952 GB, free: 3.562 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003575/1.4, allocations: 3.81 MB / 0.7989 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006408/1.406, allocations: 2.368 MB / 0.8012 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/1.408, allocations: 427.1 kB / 0.8016 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/1.408, allocations: 0 / 0.8016 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.4098/1.818, allocations: 58.2 MB / 0.8584 GB, free: 132.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (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) 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