Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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_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_4.0.0_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_4.0.0_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.001039/0.001039, allocations: 97.59 kB / 17 MB, free: 6.418 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.001014/0.001014, allocations: 190 kB / 17.89 MB, free: 5.945 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.401/1.401, allocations: 223.3 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2012/0.2012, allocations: 44.24 MB / 337.3 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 11.98 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1408, allocations: 61.93 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3724/0.5132, allocations: 59.51 MB / 0.5187 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03545/0.5487, allocations: 12.34 MB / 0.5307 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01593/0.5647, allocations: 281.3 kB / 0.531 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01278/0.5775, allocations: 3.105 MB / 0.534 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03211/0.6097, allocations: 9.035 MB / 0.5428 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004677/0.6144, allocations: 0.6145 MB / 0.5434 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008007/0.6224, allocations: 4.98 MB / 0.5483 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009532/0.6319, allocations: 5.96 MB / 0.5541 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003747/0.6357, allocations: 1.408 MB / 0.5555 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004309/0.6401, allocations: 2.174 MB / 0.5576 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009485/0.6411, allocations: 164 kB / 0.5578 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.6437, allocations: 0.8217 MB / 0.5586 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00217/0.6459, allocations: 1.896 MB / 0.5604 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.6477, allocations: 0.9634 MB / 0.5614 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008332/0.656, allocations: 6.352 MB / 0.5676 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6561, allocations: 0 / 0.5676 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6561, allocations: 0 / 0.5676 GB, free: 1.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003027/0.6564, allocations: 0 / 0.5676 GB, free: 1.461 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01698/0.6734, allocations: 5.201 MB / 0.5727 GB, free: 12.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.6734, allocations: 8.031 kB / 0.5727 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007233/0.6807, allocations: 2.009 MB / 0.5746 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006071/0.6868, allocations: 2.609 MB / 0.5772 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.687, allocations: 300 kB / 0.5775 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.6881, allocations: 391.4 kB / 0.5778 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02494/0.7131, allocations: 12.38 MB / 0.5899 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001924/0.7133, allocations: 47.58 kB / 0.59 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006974/0.714, allocations: 184.5 kB / 0.5901 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004129/0.7182, allocations: 2.252 MB / 0.5923 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02478/0.743, allocations: 11.33 MB / 0.6034 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07468/0.8177, allocations: 46.48 MB / 0.6488 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01699/0.8347, allocations: 5.491 MB / 0.6542 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004903/0.8397, allocations: 3.44 MB / 0.6575 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009749/0.8407, allocations: 0.6924 MB / 0.6582 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.8407, allocations: 55.88 kB / 0.6582 GB, free: 2.895 MB / 494.1 MB Notification: Performance of pre-optimization done (n=203): time 4.94e-06/0.8408, allocations: 3.938 kB / 0.6582 GB, free: 2.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=234): time 0.07353/0.9143, allocations: 27.36 MB / 0.685 GB, free: 7.406 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/0.9144, allocations: 158.4 kB / 0.6851 GB, free: 7.223 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006224/0.9207, allocations: 4.391 MB / 0.6894 GB, free: 2.809 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006352/0.9213, allocations: 60.59 kB / 0.6895 GB, free: 2.746 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.924, allocations: 3.421 MB / 0.6928 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/0.9253, allocations: 0.8818 MB / 0.6937 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003889/0.9257, allocations: 134.7 kB / 0.6938 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003828/0.9261, allocations: 0.579 MB / 0.6944 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004753/0.9308, allocations: 3.269 MB / 0.6976 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008192/0.939, allocations: 7.097 MB / 0.7045 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2819/1.221, allocations: 4.681 MB / 0.7091 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001836/1.221, allocations: 41.75 kB / 0.7091 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.03697/1.258, allocations: 11.28 MB / 0.7201 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001766/1.258, allocations: 63.75 kB / 0.7202 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003701/1.259, allocations: 133.4 kB / 0.7203 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004468/1.263, allocations: 1.138 MB / 0.7214 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009701/1.273, allocations: 1.706 MB / 0.7231 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/1.284, allocations: 6.005 MB / 0.7289 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008905/1.293, allocations: 400.8 kB / 0.7293 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001821/1.295, allocations: 443.2 kB / 0.7297 GB, free: 177 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (819): * Single equations (assignments): 815 * 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.006248/1.301, allocations: 2.343 MB / 0.732 GB, free: 176 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.303, allocations: 391.2 kB / 0.7324 GB, free: 176 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/1.317, allocations: 6.194 MB / 0.7385 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.334e-05/1.317, allocations: 27.17 kB / 0.7385 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/1.317, allocations: 4.531 kB / 0.7385 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.633e-05/1.317, allocations: 11.39 kB / 0.7385 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03174/1.349, allocations: 13.08 MB / 0.7513 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/1.349, allocations: 0 / 0.7513 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004033/1.353, allocations: 0.5424 MB / 0.7518 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003305/1.356, allocations: 0.9592 MB / 0.7527 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005108/1.357, allocations: 80.69 kB / 0.7528 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009285/1.366, allocations: 5.74 MB / 0.7584 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.366, allocations: 0 / 0.7584 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.382, allocations: 10.47 MB / 0.7686 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/1.384, allocations: 0.9055 MB / 0.7695 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005985/1.385, allocations: 43.84 kB / 0.7696 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/1.387, allocations: 172.4 kB / 0.7697 GB, free: 143 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004452/1.387, allocations: 181.7 kB / 0.7699 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002194/1.388, allocations: 108.4 kB / 0.77 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003878/1.392, allocations: 2.754 MB / 0.7727 GB, free: 140 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.4e-07/1.392, allocations: 0 / 0.7727 GB, free: 140 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006596/1.398, allocations: 1.206 MB / 0.7739 GB, free: 138.8 MB / 0.5294 GB 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 (206): * Single equations (assignments): 202 * 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.000595/1.399, allocations: 187.6 kB / 0.7741 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.409, allocations: 7.708 MB / 0.7816 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.409, allocations: 0 / 0.7816 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003561/1.413, allocations: 3.016 MB / 0.7845 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/1.416, allocations: 492.6 kB / 0.785 GB, free: 127.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/1.435, allocations: 13.97 MB / 0.7986 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003677/1.438, allocations: 3.67 MB / 0.8022 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005475/1.444, allocations: 2.267 MB / 0.8044 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/1.445, allocations: 415.1 kB / 0.8048 GB, free: 107 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/1.445, allocations: 4 kB / 0.8048 GB, free: 107 MB / 0.5294 GB Notification: Performance of Templates: time 0.09226/1.538, allocations: 52.34 MB / 0.856 GB, free: 54.82 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches