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.00137/0.00137, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00155/0.00155, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.468/1.468, allocations: 230.3 MB / 258 MB, free: 8.211 MB / 206.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.2386/0.2386, allocations: 46.89 MB / 361.3 MB, free: 4.418 MB / 286.1 MB " [Timeout remaining time 179] 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.002399/0.002399, allocations: 79.81 kB / 0.4971 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3662, allocations: 66.03 MB / 0.5615 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01471/0.3809, allocations: 11.12 MB / 0.5724 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009049/0.39, allocations: 3.87 MB / 0.5762 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.3919, allocations: 79.62 kB / 0.5763 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005733/0.3976, allocations: 2.722 MB / 0.5789 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004984/0.4026, allocations: 1.805 MB / 0.5807 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.4045, allocations: 0.7056 MB / 0.5814 GB, free: 208 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005506/0.41, allocations: 3.574 MB / 0.5849 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004066/0.414, allocations: 2.597 MB / 0.5874 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.4169, allocations: 1.495 MB / 0.5888 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003448/0.4203, allocations: 2.153 MB / 0.591 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.4215, allocations: 324 kB / 0.5913 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.4243, allocations: 1.073 MB / 0.5923 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002636/0.4269, allocations: 1.846 MB / 0.5941 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003901/0.4308, allocations: 2.089 MB / 0.5962 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.441, allocations: 6.7 MB / 0.6027 GB, free: 10.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.441, allocations: 0 / 0.6027 GB, free: 10.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.441, allocations: 0 / 0.6027 GB, free: 10.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002989/0.4413, allocations: 0 / 0.6027 GB, free: 10.23 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.0232/0.4645, allocations: 5.117 MB / 0.6077 GB, free: 5.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.496e-05/0.4645, allocations: 11.97 kB / 0.6077 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008437/0.473, allocations: 1.882 MB / 0.6095 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006196/0.4792, allocations: 2.185 MB / 0.6117 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.4794, allocations: 229.8 kB / 0.6119 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/0.4808, allocations: 295.8 kB / 0.6122 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02385/0.5047, allocations: 10.04 MB / 0.622 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001975/0.5049, allocations: 47.64 kB / 0.622 GB, free: 5.672 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001143/0.506, allocations: 139.9 kB / 0.6222 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003701/0.5097, allocations: 1.802 MB / 0.6239 GB, free: 3.727 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/0.5308, allocations: 9.03 MB / 0.6327 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05679/0.5876, allocations: 37.01 MB / 0.6689 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01433/0.6019, allocations: 3.158 MB / 0.672 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/0.6046, allocations: 1.614 MB / 0.6735 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009149/0.6055, allocations: 232.2 kB / 0.6738 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.6056, allocations: 47.22 kB / 0.6738 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 4.989e-06/0.6056, allocations: 0 / 0.6738 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.04824/0.6538, allocations: 12.95 MB / 0.6864 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.6539, allocations: 145.1 kB / 0.6866 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008678/0.6626, allocations: 3.967 MB / 0.6905 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004567/0.6631, allocations: 41.7 kB / 0.6905 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003415/0.6665, allocations: 3.096 MB / 0.6935 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.6676, allocations: 0.57 MB / 0.6941 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004205/0.6719, allocations: 1.143 MB / 0.6952 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.672, allocations: 305.1 kB / 0.6955 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003815/0.6759, allocations: 1.935 MB / 0.6974 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007083/0.6829, allocations: 5.502 MB / 0.7028 GB, free: 15.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/0.6944, allocations: 8.05 MB / 0.7106 GB, free: 6.082 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001642/0.6946, allocations: 36 kB / 0.7106 GB, free: 6.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01827/0.7128, allocations: 7.934 MB / 0.7184 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.713, allocations: 60 kB / 0.7185 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002393/0.7132, allocations: 124 kB / 0.7186 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002925/0.7162, allocations: 0.9103 MB / 0.7195 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004534/0.7207, allocations: 1.279 MB / 0.7207 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007983/0.7287, allocations: 5.098 MB / 0.7257 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004477/0.7332, allocations: 299.8 kB / 0.726 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/0.7343, allocations: 356 kB / 0.7263 GB, free: 5.875 MB / 0.5606 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.004716/0.739, allocations: 1.972 MB / 0.7282 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/0.74, allocations: 349.6 kB / 0.7286 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006761/0.7468, allocations: 2.778 MB / 0.7313 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.253e-05/0.7468, allocations: 19.98 kB / 0.7313 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.7469, allocations: 4 kB / 0.7313 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/0.7469, allocations: 3.984 kB / 0.7313 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.306/1.053, allocations: 7.133 MB / 0.7383 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.053, allocations: 3.5 kB / 0.7383 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.054, allocations: 246.3 kB / 0.7385 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002034/1.056, allocations: 0.7104 MB / 0.7392 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/1.056, allocations: 38.56 kB / 0.7392 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00533/1.062, allocations: 4.649 MB / 0.7438 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.062, allocations: 3.938 kB / 0.7438 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006975/1.069, allocations: 5.14 MB / 0.7488 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.07, allocations: 326.1 kB / 0.7491 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003501/1.07, allocations: 28.56 kB / 0.7491 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.071, allocations: 75.38 kB / 0.7492 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/1.071, allocations: 97.11 kB / 0.7493 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.072, allocations: 43.84 kB / 0.7494 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003215/1.075, allocations: 2.477 MB / 0.7518 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.075, allocations: 0 / 0.7518 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003959/1.079, allocations: 0.8813 MB / 0.7526 GB, free: 144.9 MB / 0.5606 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.000313/1.079, allocations: 149.8 kB / 0.7528 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005276/1.084, allocations: 4.466 MB / 0.7571 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.084, allocations: 0 / 0.7571 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/1.086, allocations: 1.283 MB / 0.7584 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.088, allocations: 432.8 kB / 0.7588 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.099, allocations: 8.52 MB / 0.7671 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002495/1.102, allocations: 3.061 MB / 0.7701 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003283/1.105, allocations: 1.786 MB / 0.7719 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/1.106, allocations: 255.3 kB / 0.7721 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/1.106, allocations: 0 / 0.7721 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.06067/1.166, allocations: 35.98 MB / 0.8072 GB, free: 89.87 MB / 0.5606 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: 7.308738965541124]