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.001698/0.001698, allocations: 111.1 kB / 20.44 MB, free: 1.332 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.002216/0.002216, allocations: 214.7 kB / 23.73 MB, free: 4.508 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2333/0.2333, allocations: 46.94 MB / 360.8 MB, free: 3.938 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.002628/0.002628, allocations: 80.14 kB / 0.4962 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.331, allocations: 66.08 MB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01307/0.3441, allocations: 9.714 MB / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008637/0.3527, allocations: 3.649 MB / 0.5737 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.3546, allocations: 79.62 kB / 0.5738 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00575/0.3604, allocations: 2.613 MB / 0.5764 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00524/0.3656, allocations: 1.798 MB / 0.5781 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.3676, allocations: 0.694 MB / 0.5788 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005529/0.3732, allocations: 3.574 MB / 0.5823 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003773/0.3769, allocations: 2.8 MB / 0.585 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.3795, allocations: 1.491 MB / 0.5865 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003178/0.3827, allocations: 2.032 MB / 0.5885 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007162/0.3834, allocations: 324 kB / 0.5888 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.3854, allocations: 0.944 MB / 0.5897 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.3873, allocations: 1.842 MB / 0.5915 GB, free: 4.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002001/0.3893, allocations: 1.553 MB / 0.593 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007491/0.3968, allocations: 6.735 MB / 0.5996 GB, free: 12.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3968, allocations: 4 kB / 0.5996 GB, free: 12.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3968, allocations: 0 / 0.5996 GB, free: 12.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001504/0.3969, allocations: 4 kB / 0.5996 GB, free: 12 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.0165/0.4134, allocations: 5.125 MB / 0.6046 GB, free: 6.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4135, allocations: 12.03 kB / 0.6046 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001035/0.4145, allocations: 0.6742 MB / 0.6053 GB, free: 6.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00681/0.4213, allocations: 1.89 MB / 0.6071 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006023/0.4273, allocations: 2.431 MB / 0.6095 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.4276, allocations: 229.8 kB / 0.6097 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009276/0.4285, allocations: 303.8 kB / 0.61 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01978/0.4483, allocations: 10.07 MB / 0.6198 GB, free: 6.504 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.4484, allocations: 39.7 kB / 0.6199 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004159/0.4488, allocations: 147.9 kB / 0.62 GB, free: 6.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003301/0.4521, allocations: 1.809 MB / 0.6218 GB, free: 4.504 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02027/0.4724, allocations: 9.007 MB / 0.6306 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05323/0.5256, allocations: 35.57 MB / 0.6653 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/0.5385, allocations: 3.15 MB / 0.6684 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002485/0.5409, allocations: 1.61 MB / 0.67 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007976/0.5417, allocations: 224.3 kB / 0.6702 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/0.5418, allocations: 55.14 kB / 0.6702 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 4.098e-06/0.5418, allocations: 0 / 0.6702 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04267/0.5845, allocations: 13 MB / 0.6829 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.5846, allocations: 141.2 kB / 0.6831 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005956/0.5905, allocations: 4.188 MB / 0.6871 GB, free: 376 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.5908, allocations: 41.7 kB / 0.6872 GB, free: 328 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002587/0.5934, allocations: 3.085 MB / 0.6902 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007345/0.5941, allocations: 0.5739 MB / 0.6908 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/0.5957, allocations: 1.143 MB / 0.6919 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5958, allocations: 305.1 kB / 0.6922 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003092/0.5989, allocations: 1.927 MB / 0.694 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006203/0.6051, allocations: 5.482 MB / 0.6994 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/0.6154, allocations: 8.054 MB / 0.7073 GB, free: 8.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.142e-05/0.6155, allocations: 36 kB / 0.7073 GB, free: 8.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=716) (initialization): time 0.01479/0.6303, allocations: 7.91 MB / 0.715 GB, free: 168 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.6304, allocations: 62.03 kB / 0.7151 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002014/0.6306, allocations: 128 kB / 0.7152 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/0.6332, allocations: 0.8969 MB / 0.7161 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004186/0.6374, allocations: 1.287 MB / 0.7173 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007912/0.6453, allocations: 5.034 MB / 0.7223 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003997/0.6493, allocations: 299.8 kB / 0.7225 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008431/0.6501, allocations: 363.9 kB / 0.7229 GB, free: 7.992 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.004132/0.6543, allocations: 1.963 MB / 0.7248 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000934/0.6552, allocations: 345.7 kB / 0.7251 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005932/0.6611, allocations: 2.782 MB / 0.7278 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/0.6612, allocations: 15.98 kB / 0.7279 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.6612, allocations: 4 kB / 0.7279 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.6612, allocations: 11.97 kB / 0.7279 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2722/0.9334, allocations: 6.87 MB / 0.7346 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.9334, allocations: 3.75 kB / 0.7346 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.9346, allocations: 243.4 kB / 0.7348 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/0.9364, allocations: 0.7126 MB / 0.7355 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.9366, allocations: 31.44 kB / 0.7355 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004894/0.9415, allocations: 4.62 MB / 0.7401 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9415, allocations: 3.75 kB / 0.7401 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006563/0.948, allocations: 5.142 MB / 0.7451 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009569/0.949, allocations: 321.8 kB / 0.7454 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/0.9494, allocations: 29.19 kB / 0.7454 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.9506, allocations: 77.38 kB / 0.7455 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/0.9509, allocations: 100.1 kB / 0.7456 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.951, allocations: 47.02 kB / 0.7456 GB, free: 147 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003159/0.9541, allocations: 2.483 MB / 0.7481 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9541, allocations: 0 / 0.7481 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004062/0.9582, allocations: 0.8848 MB / 0.7489 GB, free: 145.6 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.006653/0.9648, allocations: 5.77 MB / 0.7546 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005991/0.9708, allocations: 4.44 MB / 0.7589 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.9708, allocations: 4 kB / 0.7589 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.9723, allocations: 1.283 MB / 0.7601 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.9747, allocations: 429 kB / 0.7606 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05133/1.026, allocations: 42.89 MB / 0.8024 GB, free: 86.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002716/1.029, allocations: 2.516 MB / 0.8049 GB, free: 84.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003436/1.032, allocations: 1.782 MB / 0.8066 GB, free: 82.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/1.034, allocations: 1.741 MB / 0.8083 GB, free: 80.74 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/1.034, allocations: 11.94 kB / 0.8084 GB, free: 80.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/1.139, allocations: 64.74 MB / 0.8716 GB, free: 16.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/17.17, allocations: 8 kB / 0.8716 GB, free: 16.57 MB / 0.5606 GB " [Timeout remaining time 643] (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.1.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: 20.32947558024898]