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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 75.69 kB / 21.7 MB, free: 2.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 160.4 kB / 24.99 MB, free: 9.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.002/1.002, allocations: 177 MB / 205.2 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2624/0.2624, allocations: 34.87 MB / 296.6 MB, free: 0.5781 MB / 266.7 MB " [Timeout remaining time 180] 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=5002,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=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 378.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.422e-05/3.601e-05, allocations: 8.922 kB / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01333/0.01336, allocations: 10.7 MB / 389.5 MB, free: 7.668 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009594/0.02296, allocations: 3.753 MB / 393.2 MB, free: 3.902 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.02489, allocations: 71.69 kB / 393.3 MB, free: 3.832 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003659/0.02855, allocations: 2.874 MB / 396.2 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004495/0.03304, allocations: 1.87 MB / 398 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.03459, allocations: 0.7601 MB / 398.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004986/0.03957, allocations: 3.982 MB / 402.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004218/0.04379, allocations: 3.171 MB / 405.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/0.04784, allocations: 2.237 MB / 408.2 MB, free: 4.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003544/0.05139, allocations: 2.178 MB / 410.4 MB, free: 2.656 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009512/0.05234, allocations: 328 kB / 410.7 MB, free: 2.336 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.05414, allocations: 0.9985 MB / 411.7 MB, free: 1.336 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.0557, allocations: 1.94 MB / 413.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001934/0.05764, allocations: 1.219 MB / 414.8 MB, free: 14.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005885/0.06352, allocations: 4.305 MB / 419.1 MB, free: 9.848 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.06353, allocations: 0 / 419.1 MB, free: 9.848 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.06353, allocations: 0 / 419.1 MB, free: 9.848 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002167/0.06375, allocations: 0 / 419.1 MB, free: 9.848 MB / 394.7 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.01184/0.07559, allocations: 5.628 MB / 424.8 MB, free: 4.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.07564, allocations: 8.031 kB / 424.8 MB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00471/0.08035, allocations: 2.327 MB / 427.1 MB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.08373, allocations: 2.032 MB / 429.1 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.08387, allocations: 229.8 kB / 429.4 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005187/0.08439, allocations: 307.8 kB / 429.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.09509, allocations: 5.997 MB / 435.7 MB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.0952, allocations: 43.64 kB / 435.7 MB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004082/0.0956, allocations: 143.9 kB / 435.8 MB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001979/0.09758, allocations: 1.802 MB / 437.6 MB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008299/0.1059, allocations: 3.32 MB / 441 MB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2005/0.3064, allocations: 40.37 MB / 481.3 MB, free: 63.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006388/0.3128, allocations: 1.921 MB / 483.3 MB, free: 62.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000788/0.3136, allocations: 0.5035 MB / 483.8 MB, free: 62.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/0.314, allocations: 232.7 kB / 484 MB, free: 62.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.314, allocations: 46.25 kB / 484 MB, free: 62.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 4.328e-06/0.314, allocations: 5.688 kB / 484 MB, free: 62.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.02449/0.3385, allocations: 9.613 MB / 493.6 MB, free: 59.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.3386, allocations: 144.6 kB / 493.8 MB, free: 59.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003843/0.3424, allocations: 3.348 MB / 497.1 MB, free: 58.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002254/0.3426, allocations: 47.48 kB / 497.2 MB, free: 58.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.3442, allocations: 3.248 MB / 0.4887 GB, free: 55.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006454/0.3449, allocations: 0.5913 MB / 0.4893 GB, free: 55.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/0.3464, allocations: 1.243 MB / 0.4905 GB, free: 54.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.3464, allocations: 480.7 kB / 0.4909 GB, free: 54.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.3477, allocations: 0.5694 MB / 0.4915 GB, free: 54.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003081/0.3508, allocations: 5.871 MB / 0.4972 GB, free: 46.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005452/0.3563, allocations: 7.125 MB / 0.5042 GB, free: 38.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000157/0.3564, allocations: 36.16 kB / 0.5042 GB, free: 38.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.009232/0.3657, allocations: 5.285 MB / 0.5094 GB, free: 36.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.455e-05/0.3657, allocations: 59.09 kB / 0.5094 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.3659, allocations: 127.2 kB / 0.5096 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.3673, allocations: 0.6161 MB / 0.5102 GB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.3699, allocations: 1.293 MB / 0.5114 GB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.373, allocations: 3.203 MB / 0.5146 GB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003254/0.3763, allocations: 324.5 kB / 0.5149 GB, free: 34.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005651/0.3769, allocations: 360.9 kB / 0.5152 GB, free: 34.09 MB / 410.7 MB 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.001419/0.3783, allocations: 0.628 MB / 0.5158 GB, free: 33.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00051/0.3788, allocations: 349.3 kB / 0.5162 GB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.3813, allocations: 1.412 MB / 0.5175 GB, free: 33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/0.3813, allocations: 17.23 kB / 0.5176 GB, free: 33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.3813, allocations: 6.969 kB / 0.5176 GB, free: 33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.3813, allocations: 5.438 kB / 0.5176 GB, free: 33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008364/0.3897, allocations: 4.785 MB / 0.5222 GB, free: 29.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.3897, allocations: 0 / 0.5222 GB, free: 29.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006664/0.3904, allocations: 244.5 kB / 0.5225 GB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.3915, allocations: 444.6 kB / 0.5229 GB, free: 28.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.3916, allocations: 39.55 kB / 0.5229 GB, free: 28.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.394, allocations: 2.927 MB / 0.5258 GB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.394, allocations: 5.703 kB / 0.5258 GB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.3972, allocations: 2.413 MB / 0.5282 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006047/0.3978, allocations: 296.3 kB / 0.5284 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002824/0.398, allocations: 27.91 kB / 0.5285 GB, free: 23.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/0.3988, allocations: 104.4 kB / 0.5286 GB, free: 23.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.399, allocations: 101.7 kB / 0.5287 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/0.399, allocations: 51.59 kB / 0.5287 GB, free: 23.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00186/0.4009, allocations: 1.435 MB / 0.5301 GB, free: 22.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4009, allocations: 0 / 0.5301 GB, free: 22.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003901/0.4048, allocations: 0.9374 MB / 0.531 GB, free: 21.42 MB / 410.7 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.0004392/0.4052, allocations: 168.9 kB / 0.5312 GB, free: 21.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004328/0.4096, allocations: 2.75 MB / 0.5339 GB, free: 18.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4096, allocations: 0 / 0.5339 GB, free: 18.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008164/0.4104, allocations: 0.6814 MB / 0.5345 GB, free: 18.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.4122, allocations: 394.9 kB / 0.5349 GB, free: 17.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009067/0.4212, allocations: 6.79 MB / 0.5415 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009539/0.4222, allocations: 1.145 MB / 0.5427 GB, free: 9.785 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002378/0.4246, allocations: 1.508 MB / 0.5441 GB, free: 8.273 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005499/0.4251, allocations: 260.3 kB / 0.5444 GB, free: 8.02 MB / 410.7 MB Notification: Performance of SimCode: time 2.745e-06/0.4251, allocations: 0 / 0.5444 GB, free: 8.02 MB / 410.7 MB Notification: Performance of Templates: time 0.04696/0.4721, allocations: 29.5 MB / 0.5732 GB, free: 10.99 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.573118863161653]