Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 107.8 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001224, allocations: 207.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 79.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3027, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01208/0.3149, allocations: 11.04 MB / 0.5425 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008219/0.3231, allocations: 3.823 MB / 0.5462 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.3249, allocations: 64.22 kB / 0.5463 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004905/0.3299, allocations: 2.682 MB / 0.5489 GB, free: 96 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.3343, allocations: 1.747 MB / 0.5506 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.3358, allocations: 0.694 MB / 0.5513 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004831/0.3407, allocations: 3.582 MB / 0.5548 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/0.3445, allocations: 3.695 MB / 0.5584 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.3466, allocations: 1.46 MB / 0.5598 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.3491, allocations: 2.005 MB / 0.5617 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005758/0.3497, allocations: 320 kB / 0.562 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.3516, allocations: 1.045 MB / 0.5631 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001502/0.3531, allocations: 1.8 MB / 0.5648 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001892/0.3551, allocations: 2.089 MB / 0.5669 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006765/0.3618, allocations: 6.678 MB / 0.5734 GB, free: 6.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3619, allocations: 0 / 0.5734 GB, free: 6.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3619, allocations: 0 / 0.5734 GB, free: 6.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00011/0.362, allocations: 0 / 0.5734 GB, free: 6.852 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01694/0.3789, allocations: 5.07 MB / 0.5783 GB, free: 1.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.379, allocations: 8.031 kB / 0.5783 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006507/0.3855, allocations: 1.863 MB / 0.5802 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004332/0.3899, allocations: 2.241 MB / 0.5824 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.39, allocations: 221.8 kB / 0.5826 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006237/0.3907, allocations: 307.8 kB / 0.5829 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/0.4073, allocations: 10.04 MB / 0.5927 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.4074, allocations: 39.62 kB / 0.5927 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003922/0.4078, allocations: 151.9 kB / 0.5929 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002892/0.4107, allocations: 1.806 MB / 0.5946 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/0.4272, allocations: 9.026 MB / 0.6034 GB, free: 7.273 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04188/0.4691, allocations: 37.08 MB / 0.6396 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.4818, allocations: 3.716 MB / 0.6433 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/0.484, allocations: 1.702 MB / 0.6449 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000851/0.4848, allocations: 0.6746 MB / 0.6456 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.4849, allocations: 51.11 kB / 0.6456 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 4.188e-06/0.4849, allocations: 0 / 0.6456 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.0385/0.5234, allocations: 12.89 MB / 0.6582 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.5235, allocations: 145.1 kB / 0.6584 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005109/0.5286, allocations: 3.959 MB / 0.6622 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.5288, allocations: 41.7 kB / 0.6623 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001827/0.5306, allocations: 2.97 MB / 0.6652 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000512/0.5311, allocations: 0.5479 MB / 0.6657 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/0.5325, allocations: 1.138 MB / 0.6668 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.5326, allocations: 305.1 kB / 0.6671 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/0.5352, allocations: 1.931 MB / 0.669 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004611/0.5399, allocations: 5.501 MB / 0.6744 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007842/0.5477, allocations: 8.053 MB / 0.6822 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.337e-05/0.5478, allocations: 36 kB / 0.6823 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01222/0.56, allocations: 7.929 MB / 0.69 GB, free: 9.473 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/0.5601, allocations: 56 kB / 0.6901 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/0.5603, allocations: 128 kB / 0.6902 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/0.5625, allocations: 0.9048 MB / 0.6911 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/0.566, allocations: 1.287 MB / 0.6923 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006135/0.5722, allocations: 5.19 MB / 0.6974 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.5755, allocations: 299.5 kB / 0.6977 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005089/0.576, allocations: 355.9 kB / 0.698 GB, free: 1.133 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.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 (681): * Single equations (assignments): 677 * 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.00271/0.5787, allocations: 1.967 MB / 0.6999 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/0.5793, allocations: 331.7 kB / 0.7003 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005087/0.5844, allocations: 2.79 MB / 0.703 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.5844, allocations: 3.984 kB / 0.703 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.5844, allocations: 4 kB / 0.703 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006413/0.5851, allocations: 388.6 kB / 0.7034 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000455/0.5855, allocations: 16 kB / 0.7034 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.5868, allocations: 79.89 kB / 0.7034 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.587, allocations: 100.5 kB / 0.7035 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005558/0.5926, allocations: 3.274 MB / 0.7067 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005148/0.5978, allocations: 4.398 MB / 0.711 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001349/0.5991, allocations: 1.098 MB / 0.7121 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004058/0.6032, allocations: 2.481 MB / 0.7145 GB, free: 152 kB / 0.5606 GB Notification: Performance of Backend: time 5.81e-07/0.6032, allocations: 0 / 0.7145 GB, free: 152 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007509/0.6107, allocations: 3.825 MB / 0.7183 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01398/0.6247, allocations: 8.566 MB / 0.7266 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of Templates: time 0.3372/0.9619, allocations: 41.4 MB / 0.7671 GB, free: 155.7 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches