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.001603/0.001603, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001785/0.001785, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.572/1.572, allocations: 230.2 MB / 254.5 MB, free: 15.1 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.2866/0.2866, allocations: 46.9 MB / 357.4 MB, free: 10.49 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 75.88 kB / 0.4912 GB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1412, allocations: 65.99 MB / 0.5557 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01567/0.1568, allocations: 11.11 MB / 0.5665 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009406/0.1662, allocations: 3.832 MB / 0.5703 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.1683, allocations: 63.88 kB / 0.5703 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006242/0.1746, allocations: 2.71 MB / 0.573 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005677/0.1802, allocations: 1.794 MB / 0.5747 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.1825, allocations: 0.694 MB / 0.5754 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005964/0.1884, allocations: 3.598 MB / 0.5789 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004574/0.193, allocations: 3.07 MB / 0.5819 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.1961, allocations: 1.472 MB / 0.5834 GB, free: 9.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/0.1999, allocations: 2.153 MB / 0.5855 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.201, allocations: 324 kB / 0.5858 GB, free: 7.277 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.2037, allocations: 1.077 MB / 0.5868 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002762/0.2065, allocations: 1.85 MB / 0.5886 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003786/0.2103, allocations: 2.089 MB / 0.5907 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2579/0.4681, allocations: 6.698 MB / 0.5972 GB, free: 13.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.4681, allocations: 1.844 kB / 0.5972 GB, free: 13.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4681, allocations: 0 / 0.5972 GB, free: 13.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003578/0.4685, allocations: 0 / 0.5972 GB, free: 13.79 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.02261/0.4911, allocations: 5.204 MB / 0.6023 GB, free: 11.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4912, allocations: 9.547 kB / 0.6023 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002361/0.4935, allocations: 0.6807 MB / 0.603 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007927/0.5014, allocations: 1.886 MB / 0.6048 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007544/0.509, allocations: 2.496 MB / 0.6073 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.5094, allocations: 230.4 kB / 0.6075 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/0.5113, allocations: 302.6 kB / 0.6078 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02415/0.5355, allocations: 10.04 MB / 0.6176 GB, free: 7.801 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000256/0.5357, allocations: 37.92 kB / 0.6176 GB, free: 7.797 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/0.5369, allocations: 146.5 kB / 0.6177 GB, free: 7.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003158/0.54, allocations: 1.801 MB / 0.6195 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01824/0.5583, allocations: 9.033 MB / 0.6283 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05615/0.6144, allocations: 37.14 MB / 0.6646 GB, free: 132 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/0.6284, allocations: 3.615 MB / 0.6681 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/0.6312, allocations: 1.606 MB / 0.6697 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.6324, allocations: 0.6756 MB / 0.6704 GB, free: 9.977 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/0.6324, allocations: 50.97 kB / 0.6704 GB, free: 9.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 4.598e-06/0.6324, allocations: 0 / 0.6704 GB, free: 9.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.05457/0.687, allocations: 13.09 MB / 0.6832 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.6871, allocations: 152.4 kB / 0.6833 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/0.6993, allocations: 3.973 MB / 0.6872 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004749/0.6998, allocations: 45.7 kB / 0.6873 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004032/0.7038, allocations: 3.081 MB / 0.6903 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001384/0.7052, allocations: 0.5755 MB / 0.6908 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004143/0.7093, allocations: 1.145 MB / 0.6919 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.7095, allocations: 301.1 kB / 0.6922 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005116/0.7146, allocations: 1.921 MB / 0.6941 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009848/0.7244, allocations: 5.497 MB / 0.6995 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01501/0.7394, allocations: 8.042 MB / 0.7073 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001478/0.7396, allocations: 36 kB / 0.7074 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=716) (initialization): time 0.02392/0.7635, allocations: 7.894 MB / 0.7151 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.7637, allocations: 60.97 kB / 0.7151 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002412/0.7639, allocations: 128 kB / 0.7153 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00372/0.7676, allocations: 0.9066 MB / 0.7161 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006245/0.7739, allocations: 1.283 MB / 0.7174 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.7844, allocations: 5.183 MB / 0.7225 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006601/0.791, allocations: 310.3 kB / 0.7227 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001853/0.7929, allocations: 360 kB / 0.7231 GB, free: 1.078 MB / 0.5294 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 (677): * Single equations (assignments): 673 * 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.006958/0.7998, allocations: 1.951 MB / 0.725 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/0.8012, allocations: 349.7 kB / 0.7253 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009032/0.8102, allocations: 2.778 MB / 0.728 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.262e-05/0.8103, allocations: 20 kB / 0.7281 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/0.8103, allocations: 4.938 kB / 0.7281 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-05/0.8103, allocations: 9.281 kB / 0.7281 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02239/0.8327, allocations: 7.174 MB / 0.7351 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/0.8327, allocations: 8.094 kB / 0.7351 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.8345, allocations: 247.6 kB / 0.7353 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/0.8375, allocations: 0.7069 MB / 0.736 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003359/0.8379, allocations: 35.97 kB / 0.7361 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009279/0.8471, allocations: 4.766 MB / 0.7407 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.8472, allocations: 0 / 0.7407 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/0.8593, allocations: 5.147 MB / 0.7457 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/0.8608, allocations: 406.7 kB / 0.7461 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/0.8619, allocations: 16 kB / 0.7461 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/0.8642, allocations: 79.91 kB / 0.7462 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005543/0.8647, allocations: 84.52 kB / 0.7463 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002918/0.865, allocations: 51.97 kB / 0.7463 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006826/0.8718, allocations: 2.481 MB / 0.7488 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8718, allocations: 0 / 0.7488 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007296/0.8791, allocations: 0.8772 MB / 0.7496 GB, free: 5.691 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.01321/0.8923, allocations: 5.78 MB / 0.7553 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01172/0.9041, allocations: 4.445 MB / 0.7596 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.9041, allocations: 0 / 0.7596 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002756/0.9068, allocations: 1.291 MB / 0.7609 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/0.9111, allocations: 416.2 kB / 0.7613 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09672/1.008, allocations: 42.83 MB / 0.8031 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00701/1.015, allocations: 3.064 MB / 0.8061 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006121/1.021, allocations: 1.786 MB / 0.8078 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004485/1.025, allocations: 1.749 MB / 0.8095 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of SimCode: time 1.763e-06/1.025, allocations: 0 / 0.8095 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3905/1.416, allocations: 64.5 MB / 0.8725 GB, free: 233.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.29/25.7, allocations: 12.66 kB / 0.8725 GB, free: 233.8 MB / 0.6544 GB " [Timeout remaining time 634] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 29.675912404898554]