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.001662/0.001662, 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.002019/0.002019, allocations: 216.8 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.537/1.537, allocations: 230.3 MB / 258 MB, free: 8.219 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.2276/0.2276, allocations: 46.89 MB / 361.3 MB, free: 4.434 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.002366/0.002366, allocations: 75.88 kB / 0.4966 GB, free: 8.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3164, allocations: 66.03 MB / 0.5611 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01372/0.3302, allocations: 11.12 MB / 0.5719 GB, free: 9.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008578/0.3387, allocations: 3.867 MB / 0.5757 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.3408, allocations: 75.62 kB / 0.5758 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005811/0.3466, allocations: 2.722 MB / 0.5784 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.352, allocations: 1.812 MB / 0.5802 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.354, allocations: 0.6978 MB / 0.5809 GB, free: 312 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005641/0.3597, allocations: 3.582 MB / 0.5844 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004034/0.3637, allocations: 2.598 MB / 0.5869 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.3667, allocations: 1.487 MB / 0.5884 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003704/0.3704, allocations: 2.149 MB / 0.5905 GB, free: 6.402 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.3717, allocations: 320 kB / 0.5908 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002807/0.3745, allocations: 1.084 MB / 0.5918 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002733/0.3772, allocations: 1.85 MB / 0.5936 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003922/0.3811, allocations: 2.089 MB / 0.5957 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009212/0.3903, allocations: 6.704 MB / 0.6022 GB, free: 10.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3904, allocations: 0 / 0.6022 GB, free: 10.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3904, allocations: 0 / 0.6022 GB, free: 10.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002161/0.3906, allocations: 4 kB / 0.6022 GB, free: 10.31 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.01918/0.4098, allocations: 5.204 MB / 0.6073 GB, free: 5.035 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4098, allocations: 8.031 kB / 0.6073 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001722/0.4115, allocations: 0.6781 MB / 0.608 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00762/0.4191, allocations: 1.893 MB / 0.6098 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00647/0.4256, allocations: 2.495 MB / 0.6123 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.4259, allocations: 225.7 kB / 0.6125 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/0.4271, allocations: 299.8 kB / 0.6128 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02108/0.4482, allocations: 10.04 MB / 0.6226 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.4484, allocations: 43.69 kB / 0.6226 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007979/0.4492, allocations: 139.9 kB / 0.6227 GB, free: 4.492 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003363/0.4525, allocations: 1.805 MB / 0.6245 GB, free: 2.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01903/0.4716, allocations: 9.034 MB / 0.6333 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05189/0.5235, allocations: 37.19 MB / 0.6696 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/0.5373, allocations: 3.607 MB / 0.6732 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.5397, allocations: 1.602 MB / 0.6747 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.5409, allocations: 0.6747 MB / 0.6754 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.657e-05/0.5409, allocations: 51.16 kB / 0.6754 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 4.449e-06/0.5409, allocations: 4 kB / 0.6754 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.04704/0.588, allocations: 13.1 MB / 0.6882 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.5881, allocations: 141.2 kB / 0.6884 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007372/0.5954, allocations: 3.972 MB / 0.6923 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003388/0.5958, allocations: 41.7 kB / 0.6923 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002761/0.5985, allocations: 3.093 MB / 0.6953 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008866/0.5994, allocations: 0.5739 MB / 0.6959 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00225/0.6017, allocations: 1.143 MB / 0.697 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6018, allocations: 305.1 kB / 0.6973 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003481/0.6053, allocations: 1.92 MB / 0.6992 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006809/0.6121, allocations: 5.501 MB / 0.7045 GB, free: 13.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/0.6227, allocations: 8.044 MB / 0.7124 GB, free: 3.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/0.6229, allocations: 36 kB / 0.7124 GB, free: 3.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=716) (initialization): time 0.01702/0.6399, allocations: 7.909 MB / 0.7201 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.64, allocations: 60.22 kB / 0.7202 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001822/0.6402, allocations: 128 kB / 0.7203 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003012/0.6432, allocations: 0.9043 MB / 0.7212 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00455/0.6478, allocations: 1.283 MB / 0.7225 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007818/0.6556, allocations: 5.183 MB / 0.7275 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/0.6597, allocations: 299.8 kB / 0.7278 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.6607, allocations: 356 kB / 0.7281 GB, free: 3.289 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 (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.004041/0.6648, allocations: 1.955 MB / 0.7301 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000828/0.6656, allocations: 353.7 kB / 0.7304 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2779/0.9435, allocations: 2.772 MB / 0.7331 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.248e-05/0.9435, allocations: 15.56 kB / 0.7331 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/0.9436, allocations: 5.438 kB / 0.7331 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-05/0.9436, allocations: 12.95 kB / 0.7331 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.9586, allocations: 7.177 MB / 0.7401 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/0.9586, allocations: 0 / 0.7401 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.9598, allocations: 236.9 kB / 0.7404 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002058/0.9619, allocations: 0.7206 MB / 0.7411 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002729/0.9622, allocations: 41.89 kB / 0.7411 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005253/0.9674, allocations: 4.75 MB / 0.7457 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.9674, allocations: 2.812 kB / 0.7457 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007481/0.9749, allocations: 5.133 MB / 0.7508 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.976, allocations: 408.2 kB / 0.7512 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009263/0.9769, allocations: 27.59 kB / 0.7512 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/0.9788, allocations: 76.75 kB / 0.7513 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004392/0.9792, allocations: 95.73 kB / 0.7513 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/0.9794, allocations: 44.75 kB / 0.7514 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004263/0.9837, allocations: 2.486 MB / 0.7538 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9837, allocations: 0 / 0.7538 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005501/0.9892, allocations: 0.8811 MB / 0.7547 GB, free: 142.7 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.008189/0.9974, allocations: 5.776 MB / 0.7603 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006721/1.004, allocations: 4.443 MB / 0.7647 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.004, allocations: 0 / 0.7647 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/1.006, allocations: 1.289 MB / 0.7659 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/1.009, allocations: 416.2 kB / 0.7663 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06345/1.073, allocations: 42.91 MB / 0.8082 GB, free: 82.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00391/1.077, allocations: 3.053 MB / 0.8112 GB, free: 79.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003885/1.081, allocations: 1.79 MB / 0.8129 GB, free: 77.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002952/1.084, allocations: 1.749 MB / 0.8146 GB, free: 76.23 MB / 0.5606 GB Notification: Performance of SimCode: time 2.415e-06/1.084, allocations: 0 / 0.8146 GB, free: 76.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/1.195, allocations: 68.93 MB / 0.882 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.31/24.5, allocations: 6.641 kB / 0.882 GB, free: 7.586 MB / 0.5606 GB " [Timeout remaining time 635] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/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: 27.68843306414783]