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.001058/0.001058, allocations: 103.7 kB / 17.63 MB, free: 5.344 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.00115/0.00115, allocations: 192 kB / 18.56 MB, free: 4.434 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.285/1.285, allocations: 222.9 MB / 242.2 MB, free: 15.15 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.2021/0.2021, allocations: 44.19 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.02 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 60.83 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01131/0.1219, allocations: 11.15 MB / 480.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007003/0.1289, allocations: 3.832 MB / 484.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.1301, allocations: 59.88 kB / 484.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004717/0.1349, allocations: 2.698 MB / 487 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004443/0.1394, allocations: 1.809 MB / 488.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.141, allocations: 0.6784 MB / 489.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004485/0.1456, allocations: 3.59 MB / 493.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004418/0.15, allocations: 3.718 MB / 496.8 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.1521, allocations: 1.491 MB / 498.3 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002871/0.155, allocations: 2.009 MB / 0.4886 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.1561, allocations: 328 kB / 0.4889 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.1585, allocations: 1.069 MB / 0.4899 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002201/0.1607, allocations: 1.827 MB / 0.4917 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003075/0.1638, allocations: 2.136 MB / 0.4938 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006843/0.1706, allocations: 6.589 MB / 0.5002 GB, free: 3.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1706, allocations: 0 / 0.5002 GB, free: 3.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1707, allocations: 3.938 kB / 0.5002 GB, free: 3.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002048/0.1709, allocations: 0 / 0.5002 GB, free: 3.16 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.2552/0.4261, allocations: 5.13 MB / 0.5052 GB, free: 46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.4262, allocations: 8.938 kB / 0.5052 GB, free: 46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00801/0.4342, allocations: 1.855 MB / 0.5071 GB, free: 45.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006402/0.4406, allocations: 2.248 MB / 0.5093 GB, free: 44.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.4409, allocations: 229 kB / 0.5095 GB, free: 44.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.442, allocations: 302.3 kB / 0.5098 GB, free: 44.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02331/0.4653, allocations: 10.24 MB / 0.5198 GB, free: 39.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/0.4655, allocations: 37.72 kB / 0.5198 GB, free: 39.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004818/0.466, allocations: 146.3 kB / 0.5199 GB, free: 39.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003054/0.4691, allocations: 1.876 MB / 0.5218 GB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/0.4856, allocations: 9.175 MB / 0.5307 GB, free: 30.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04173/0.5274, allocations: 37.62 MB / 0.5675 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/0.5406, allocations: 3.729 MB / 0.5711 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00246/0.5431, allocations: 1.708 MB / 0.5728 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009953/0.5441, allocations: 0.6785 MB / 0.5734 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.5442, allocations: 47.06 kB / 0.5735 GB, free: 1.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=130): time 4.127e-06/0.5442, allocations: 0 / 0.5735 GB, free: 1.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=136): time 0.04502/0.5892, allocations: 12.93 MB / 0.5861 GB, free: 4.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/0.5894, allocations: 141.2 kB / 0.5862 GB, free: 4.676 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007922/0.5973, allocations: 3.979 MB / 0.5901 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004537/0.5978, allocations: 49.69 kB / 0.5902 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002606/0.6004, allocations: 3.001 MB / 0.5931 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.6014, allocations: 0.5518 MB / 0.5937 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003084/0.6045, allocations: 1.147 MB / 0.5948 GB, free: 11.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.6046, allocations: 305.1 kB / 0.5951 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003408/0.6081, allocations: 1.935 MB / 0.597 GB, free: 9.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005775/0.6139, allocations: 5.524 MB / 0.6023 GB, free: 2.328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008895/0.6228, allocations: 8.092 MB / 0.6102 GB, free: 8.449 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/0.6229, allocations: 39.94 kB / 0.6103 GB, free: 8.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01551/0.6384, allocations: 7.94 MB / 0.618 GB, free: 468 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.6386, allocations: 60 kB / 0.6181 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/0.6388, allocations: 128 kB / 0.6182 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/0.6413, allocations: 0.9112 MB / 0.6191 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003822/0.6451, allocations: 1.294 MB / 0.6204 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006277/0.6514, allocations: 5.186 MB / 0.6254 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004067/0.6555, allocations: 295.7 kB / 0.6257 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009939/0.6565, allocations: 367.9 kB / 0.6261 GB, free: 8.09 MB / 462.1 MB 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.003737/0.6603, allocations: 1.99 MB / 0.628 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008509/0.6611, allocations: 331.7 kB / 0.6283 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006309/0.6674, allocations: 2.79 MB / 0.6311 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.073e-05/0.6676, allocations: 20.03 kB / 0.6311 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/0.6676, allocations: 7.984 kB / 0.6311 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/0.6676, allocations: 3.984 kB / 0.6311 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.6834, allocations: 7.259 MB / 0.6382 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.6834, allocations: 4 kB / 0.6382 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.6847, allocations: 243.7 kB / 0.6384 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00213/0.6868, allocations: 0.7251 MB / 0.6391 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/0.687, allocations: 27.98 kB / 0.6391 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006078/0.6931, allocations: 4.756 MB / 0.6438 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.6931, allocations: 4.031 kB / 0.6438 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008214/0.7013, allocations: 5.129 MB / 0.6488 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.7029, allocations: 388.6 kB / 0.6492 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009706/0.7039, allocations: 24 kB / 0.6492 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/0.7056, allocations: 84.16 kB / 0.6493 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/0.706, allocations: 88.61 kB / 0.6494 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.7061, allocations: 47.97 kB / 0.6494 GB, free: 15.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004258/0.7104, allocations: 2.493 MB / 0.6518 GB, free: 13.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7104, allocations: 4 kB / 0.6518 GB, free: 13.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004357/0.7148, allocations: 0.897 MB / 0.6527 GB, free: 12.52 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003503/0.7151, allocations: 157.6 kB / 0.6529 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007214/0.7223, allocations: 5.075 MB / 0.6578 GB, free: 7.312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7224, allocations: 0 / 0.6578 GB, free: 7.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.7241, allocations: 1.356 MB / 0.6592 GB, free: 5.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.7262, allocations: 440.7 kB / 0.6596 GB, free: 5.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.7394, allocations: 8.529 MB / 0.6679 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003075/0.7425, allocations: 3.098 MB / 0.6709 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004112/0.7466, allocations: 1.802 MB / 0.6727 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000588/0.7472, allocations: 251.3 kB / 0.6729 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/0.7472, allocations: 0 / 0.6729 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of Templates: time 0.3047/1.052, allocations: 35.36 MB / 0.7075 GB, free: 165.5 MB / 0.5137 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/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