Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 113.8 kB / 18.45 MB, free: 4.617 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.001031/0.001031, allocations: 190 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2047/0.2047, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3105, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01087/0.3214, allocations: 11.17 MB / 0.5305 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007179/0.3286, allocations: 3.813 MB / 0.5342 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.3302, allocations: 61.25 kB / 0.5343 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00469/0.3349, allocations: 2.697 MB / 0.5369 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004187/0.3392, allocations: 1.849 MB / 0.5387 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.3406, allocations: 0.6853 MB / 0.5394 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004773/0.3454, allocations: 3.589 MB / 0.5429 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004677/0.3501, allocations: 3.721 MB / 0.5465 GB, free: 352 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/0.3525, allocations: 1.487 MB / 0.548 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00287/0.3554, allocations: 2.017 MB / 0.5499 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008265/0.3562, allocations: 324 kB / 0.5502 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.3585, allocations: 1.065 MB / 0.5513 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001963/0.3604, allocations: 1.859 MB / 0.5531 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002825/0.3633, allocations: 2.136 MB / 0.5552 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00744/0.3707, allocations: 6.849 MB / 0.5619 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3707, allocations: 0 / 0.5619 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3708, allocations: 0 / 0.5619 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001319/0.3709, allocations: 0 / 0.5619 GB, free: 0.5586 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01667/0.3876, allocations: 5.262 MB / 0.567 GB, free: 11.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3876, allocations: 11.97 kB / 0.567 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006497/0.3941, allocations: 1.878 MB / 0.5689 GB, free: 9.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003871/0.398, allocations: 2.292 MB / 0.5711 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.3982, allocations: 233.8 kB / 0.5713 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006255/0.3988, allocations: 303.8 kB / 0.5716 GB, free: 6.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.4161, allocations: 10.22 MB / 0.5816 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-05/0.4162, allocations: 43.64 kB / 0.5816 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004416/0.4167, allocations: 147.9 kB / 0.5818 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00327/0.4199, allocations: 1.864 MB / 0.5836 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01907/0.439, allocations: 9.191 MB / 0.5926 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.049/0.488, allocations: 37.55 MB / 0.6292 GB, free: 9.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01368/0.5018, allocations: 3.713 MB / 0.6329 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/0.5042, allocations: 1.7 MB / 0.6345 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.5053, allocations: 0.6941 MB / 0.6352 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.5053, allocations: 43.12 kB / 0.6352 GB, free: 3.254 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 5.69e-06/0.5053, allocations: 0 / 0.6352 GB, free: 3.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.0462/0.5515, allocations: 13.16 MB / 0.6481 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.5517, allocations: 145.2 kB / 0.6482 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00722/0.5589, allocations: 3.992 MB / 0.6521 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003376/0.5593, allocations: 41.7 kB / 0.6522 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002329/0.5616, allocations: 3.128 MB / 0.6552 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008341/0.5625, allocations: 0.5663 MB / 0.6558 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002162/0.5646, allocations: 1.162 MB / 0.6569 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.5648, allocations: 308.9 kB / 0.6572 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/0.5678, allocations: 1.932 MB / 0.6591 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005211/0.573, allocations: 5.528 MB / 0.6645 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009411/0.5825, allocations: 8.082 MB / 0.6724 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.5826, allocations: 36 kB / 0.6724 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01496/0.5976, allocations: 7.968 MB / 0.6802 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.5977, allocations: 60 kB / 0.6803 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002127/0.5979, allocations: 128 kB / 0.6804 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/0.6004, allocations: 0.9022 MB / 0.6813 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00423/0.6047, allocations: 1.29 MB / 0.6825 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/0.6118, allocations: 5.186 MB / 0.6876 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004508/0.6163, allocations: 307.8 kB / 0.6879 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/0.6174, allocations: 360 kB / 0.6882 GB, free: 9.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (684): * Single equations (assignments): 680 * 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.004395/0.6218, allocations: 1.994 MB / 0.6902 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009473/0.6227, allocations: 353.6 kB / 0.6905 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005919/0.6287, allocations: 2.782 MB / 0.6932 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.6287, allocations: 7.984 kB / 0.6932 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.6287, allocations: 7.938 kB / 0.6932 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.6298, allocations: 406.6 kB / 0.6936 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008341/0.6306, allocations: 20 kB / 0.6937 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/0.6323, allocations: 79.84 kB / 0.6937 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003518/0.6327, allocations: 100.4 kB / 0.6938 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006338/0.639, allocations: 3.28 MB / 0.697 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006112/0.6452, allocations: 4.425 MB / 0.7013 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001496/0.6467, allocations: 1.098 MB / 0.7024 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004894/0.6516, allocations: 2.493 MB / 0.7049 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of Backend: time 5.71e-07/0.6516, allocations: 0 / 0.7049 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01017/0.6618, allocations: 3.829 MB / 0.7086 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01747/0.6793, allocations: 8.81 MB / 0.7172 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.3228/1.002, allocations: 41.71 MB / 0.7579 GB, free: 171.8 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches