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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.0009263/0.0009263, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007472/0.0007474, allocations: 93.55 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1807/0.1807, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.062e-05/1.056e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.09896, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.4935, allocations: 109.8 MB / 0.6116 GB, free: 9.055 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.4938, allocations: 82.95 kB / 0.6117 GB, free: 9.012 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1979/0.6917, allocations: 81.17 MB / 0.691 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6917, allocations: 3.984 kB / 0.691 GB, free: 15.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001669/0.6919, allocations: 76 kB / 0.6911 GB, free: 15.85 MB / 490.7 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.01538/0.7073, allocations: 4.387 MB / 0.6953 GB, free: 11.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.7073, allocations: 8.031 kB / 0.6953 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00917/0.7165, allocations: 2.213 MB / 0.6975 GB, free: 9.172 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008459/0.725, allocations: 3.751 MB / 0.7012 GB, free: 5.355 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.7251, allocations: 132 kB / 0.7013 GB, free: 5.227 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008389/0.726, allocations: 235.9 kB / 0.7015 GB, free: 4.996 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009531/0.7355, allocations: 6.091 MB / 0.7075 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.7482, allocations: 9.201 MB / 0.7165 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/0.7484, allocations: 59.47 kB / 0.7165 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000461/0.7488, allocations: 32 kB / 0.7165 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001353/0.7502, allocations: 0.9474 MB / 0.7175 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3155/1.066, allocations: 44.05 MB / 0.7605 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00354/1.069, allocations: 3.036 MB / 0.7634 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/1.071, allocations: 1.597 MB / 0.765 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006152/1.077, allocations: 4.324 MB / 0.7692 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/1.077, allocations: 47.55 kB / 0.7693 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=121): time 2.675e-06/1.077, allocations: 0 / 0.7693 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=128): time 0.01928/1.097, allocations: 11.25 MB / 0.7803 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/1.097, allocations: 140.9 kB / 0.7804 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003726/1.101, allocations: 3.001 MB / 0.7833 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/1.101, allocations: 25.7 kB / 0.7833 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001636/1.102, allocations: 3.09 MB / 0.7864 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000438/1.103, allocations: 0.5171 MB / 0.7869 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/1.103, allocations: 0 / 0.7869 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002599/1.103, allocations: 0.5418 MB / 0.7874 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/1.105, allocations: 1.672 MB / 0.789 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003302/1.108, allocations: 5.356 MB / 0.7943 GB, free: 98.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004135/1.113, allocations: 2.959 MB / 0.7971 GB, free: 98.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.759e-05/1.113, allocations: 37.81 kB / 0.7972 GB, free: 98.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=740) (initialization): time 0.01078/1.123, allocations: 6.851 MB / 0.8039 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.979e-05/1.124, allocations: 65.41 kB / 0.8039 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.962e-05/1.124, allocations: 132.8 kB / 0.8041 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/1.126, allocations: 0.9093 MB / 0.805 GB, free: 97.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/1.129, allocations: 1.329 MB / 0.8063 GB, free: 97.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004517/1.134, allocations: 4.603 MB / 0.8107 GB, free: 94.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003491/1.137, allocations: 199.8 kB / 0.8109 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004641/1.138, allocations: 360.4 kB / 0.8113 GB, free: 94.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 608 * Number of states: 0 () * Number of discrete variables: 38 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (701): * Single equations (assignments): 697 * 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.0006635/1.138, allocations: 441.5 kB / 0.8117 GB, free: 94.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004297/1.139, allocations: 301.2 kB / 0.812 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/1.143, allocations: 2.39 MB / 0.8143 GB, free: 93.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/1.143, allocations: 17.3 kB / 0.8143 GB, free: 93.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.143, allocations: 5.703 kB / 0.8143 GB, free: 93.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/1.143, allocations: 10.84 kB / 0.8144 GB, free: 93.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009688/1.153, allocations: 5.598 MB / 0.8198 GB, free: 91.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.153, allocations: 3.062 kB / 0.8198 GB, free: 91.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009678/1.154, allocations: 202.6 kB / 0.82 GB, free: 91.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/1.155, allocations: 0.6937 MB / 0.8207 GB, free: 91.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/1.155, allocations: 7.656 kB / 0.8207 GB, free: 91.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/1.16, allocations: 4.178 MB / 0.8248 GB, free: 89.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.16, allocations: 0 / 0.8248 GB, free: 89.13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00556/1.165, allocations: 4.471 MB / 0.8291 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008642/1.166, allocations: 345 kB / 0.8295 GB, free: 87.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/1.166, allocations: 7.953 kB / 0.8295 GB, free: 87.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.168, allocations: 66.89 kB / 0.8295 GB, free: 87.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/1.168, allocations: 73.31 kB / 0.8296 GB, free: 87.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.583e-05/1.168, allocations: 34.67 kB / 0.8297 GB, free: 87.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002624/1.17, allocations: 1.987 MB / 0.8316 GB, free: 86.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/1.171, allocations: 0 / 0.8316 GB, free: 86.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004296/1.175, allocations: 0.7741 MB / 0.8323 GB, free: 86.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003628/1.175, allocations: 153.9 kB / 0.8325 GB, free: 86.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005478/1.181, allocations: 4.019 MB / 0.8364 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.181, allocations: 3.344 kB / 0.8364 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/1.182, allocations: 1.142 MB / 0.8375 GB, free: 84.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/1.184, allocations: 317.9 kB / 0.8378 GB, free: 84.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/1.195, allocations: 6.656 MB / 0.8443 GB, free: 79.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/1.198, allocations: 3.19 MB / 0.8475 GB, free: 76.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003771/1.202, allocations: 1.765 MB / 0.8492 GB, free: 75.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/1.202, allocations: 203.2 kB / 0.8494 GB, free: 75.3 MB / 0.5261 GB Notification: Performance of SimCode: time 5.72e-07/1.202, allocations: 0 / 0.8494 GB, free: 75.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.04571/1.248, allocations: 26.75 MB / 0.8755 GB, free: 56.4 MB / 0.5261 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches