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.001246/0.00125, allocations: 120.8 kB / 18.45 MB, free: 4.594 MB / 14.72 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.00134/0.001341, allocations: 209 kB / 21.41 MB, free: 1.645 MB / 14.72 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.465/1.465, allocations: 227.4 MB / 251.6 MB, free: 260 kB / 190.1 MB " [Timeout remaining time 178] 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.2322/0.2322, allocations: 46.17 MB / 351.1 MB, free: 14.31 MB / 286.1 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 0.0022/0.0022, allocations: 81.55 kB / 490.2 MB, free: 27.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1297, allocations: 62.45 MB / 0.5397 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01454/0.1443, allocations: 11.04 MB / 0.5505 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009138/0.1535, allocations: 3.824 MB / 0.5542 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.1555, allocations: 63.81 kB / 0.5543 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005228/0.1608, allocations: 2.679 MB / 0.5569 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005172/0.166, allocations: 1.751 MB / 0.5586 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.1678, allocations: 0.6979 MB / 0.5593 GB, free: 112 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005431/0.1733, allocations: 3.585 MB / 0.5628 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004957/0.1783, allocations: 3.687 MB / 0.5664 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.1807, allocations: 1.476 MB / 0.5678 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.1836, allocations: 1.998 MB / 0.5698 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007239/0.1843, allocations: 320 kB / 0.5701 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.1868, allocations: 1.038 MB / 0.5711 GB, free: 3.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.1889, allocations: 1.781 MB / 0.5728 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002709/0.1916, allocations: 2.097 MB / 0.5749 GB, free: 32 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008745/0.2004, allocations: 6.692 MB / 0.5814 GB, free: 9.309 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2004, allocations: 0 / 0.5814 GB, free: 9.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2004, allocations: 0 / 0.5814 GB, free: 9.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002218/0.2006, allocations: 4 kB / 0.5814 GB, free: 9.305 MB / 446.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.0176/0.2183, allocations: 5.196 MB / 0.5865 GB, free: 4.035 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2183, allocations: 8.031 kB / 0.5865 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006719/0.225, allocations: 1.878 MB / 0.5883 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004902/0.23, allocations: 2.261 MB / 0.5905 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.2302, allocations: 221.8 kB / 0.5908 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006983/0.2309, allocations: 299.8 kB / 0.591 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.25, allocations: 10.05 MB / 0.6008 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.2501, allocations: 35.7 kB / 0.6009 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004427/0.2506, allocations: 147.9 kB / 0.601 GB, free: 4.434 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003295/0.2539, allocations: 1.805 MB / 0.6028 GB, free: 2.625 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2986/0.5524, allocations: 9.028 MB / 0.6116 GB, free: 52.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04538/0.5979, allocations: 37.13 MB / 0.6479 GB, free: 26.01 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.6101, allocations: 3.726 MB / 0.6515 GB, free: 23.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.612, allocations: 1.714 MB / 0.6532 GB, free: 23.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007373/0.6128, allocations: 0.6833 MB / 0.6538 GB, free: 22.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.6128, allocations: 51.05 kB / 0.6539 GB, free: 22.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 3.877e-06/0.6129, allocations: 0 / 0.6539 GB, free: 22.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=136): time 0.03703/0.6499, allocations: 13.08 MB / 0.6667 GB, free: 10.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.65, allocations: 149 kB / 0.6668 GB, free: 10.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/0.6543, allocations: 3.969 MB / 0.6707 GB, free: 6.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002381/0.6546, allocations: 41.7 kB / 0.6707 GB, free: 6.223 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.6559, allocations: 3.085 MB / 0.6737 GB, free: 3.227 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004872/0.6564, allocations: 0.5753 MB / 0.6743 GB, free: 2.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001152/0.6576, allocations: 1.147 MB / 0.6754 GB, free: 1.504 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.6576, allocations: 309.1 kB / 0.6757 GB, free: 1.199 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/0.6601, allocations: 1.928 MB / 0.6776 GB, free: 15.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006459/0.6666, allocations: 5.505 MB / 0.683 GB, free: 7.961 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/0.6774, allocations: 8.057 MB / 0.6908 GB, free: 14.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.772e-05/0.6775, allocations: 36 kB / 0.6909 GB, free: 14.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01601/0.6936, allocations: 7.934 MB / 0.6986 GB, free: 6.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.943e-05/0.6937, allocations: 65.97 kB / 0.6987 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/0.6938, allocations: 128.9 kB / 0.6988 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/0.6963, allocations: 0.9028 MB / 0.6997 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004271/0.7006, allocations: 1.287 MB / 0.7009 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007407/0.708, allocations: 5.189 MB / 0.706 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/0.712, allocations: 307.6 kB / 0.7063 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006575/0.7127, allocations: 363.8 kB / 0.7067 GB, free: 13.79 MB / 0.4981 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.003792/0.7165, allocations: 1.959 MB / 0.7086 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009079/0.7174, allocations: 353.5 kB / 0.7089 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/0.7231, allocations: 2.782 MB / 0.7116 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/0.7231, allocations: 16 kB / 0.7116 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.7232, allocations: 11.98 kB / 0.7116 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.7232, allocations: 7.984 kB / 0.7117 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.7366, allocations: 7.169 MB / 0.7187 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.7366, allocations: 4.875 kB / 0.7187 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.7379, allocations: 247.7 kB / 0.7189 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/0.7402, allocations: 0.7159 MB / 0.7196 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.7403, allocations: 35.97 kB / 0.7196 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006918/0.7473, allocations: 4.762 MB / 0.7243 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.7473, allocations: 4.031 kB / 0.7243 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008662/0.756, allocations: 5.144 MB / 0.7293 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.7573, allocations: 410.6 kB / 0.7297 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/0.7577, allocations: 16 kB / 0.7297 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.7589, allocations: 83.89 kB / 0.7298 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.7592, allocations: 92.39 kB / 0.7299 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.7593, allocations: 43.98 kB / 0.7299 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004156/0.7635, allocations: 2.485 MB / 0.7324 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7635, allocations: 0 / 0.7324 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005038/0.7685, allocations: 0.8861 MB / 0.7332 GB, free: 2.344 MB / 0.5137 GB 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.000441/0.769, allocations: 143 kB / 0.7334 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008272/0.7773, allocations: 4.614 MB / 0.7379 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.7773, allocations: 0 / 0.7379 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002078/0.7794, allocations: 1.358 MB / 0.7392 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.782, allocations: 425.3 kB / 0.7396 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.7963, allocations: 8.441 MB / 0.7478 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003502/0.7999, allocations: 3.065 MB / 0.7508 GB, free: 252 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004126/0.804, allocations: 1.786 MB / 0.7526 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006931/0.8047, allocations: 247.3 kB / 0.7528 GB, free: 14.21 MB / 0.545 GB Notification: Performance of SimCode: time 1.453e-06/0.8048, allocations: 0 / 0.7528 GB, free: 14.21 MB / 0.545 GB Notification: Performance of Templates: time 0.06965/0.8744, allocations: 31.93 MB / 0.784 GB, free: 14.41 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.829386784695089]