Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 80.44 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8802/0.8802, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1318/0.1318, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.919e-05, allocations: 5.938 kB / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.008999/0.009029, allocations: 10.37 MB / 417.2 MB, free: 7.82 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006284/0.01531, allocations: 3.738 MB / 421 MB, free: 4.07 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.01678, allocations: 79.62 kB / 421 MB, free: 3.992 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.01996, allocations: 2.78 MB / 423.8 MB, free: 1.203 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.02367, allocations: 2.006 MB / 425.8 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.02482, allocations: 0.7405 MB / 426.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004102/0.02892, allocations: 4.135 MB / 430.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/0.03181, allocations: 3.178 MB / 433.9 MB, free: 7.055 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/0.03461, allocations: 2.358 MB / 436.2 MB, free: 4.691 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003128/0.03774, allocations: 2.252 MB / 438.5 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007798/0.03852, allocations: 352 kB / 438.8 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.04042, allocations: 1.03 MB / 439.9 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.04193, allocations: 2.08 MB / 441.9 MB, free: 14.97 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002113/0.04404, allocations: 1.32 MB / 443.3 MB, free: 13.65 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006299/0.05034, allocations: 7.274 MB / 450.5 MB, free: 6.352 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.05035, allocations: 0 / 450.5 MB, free: 6.352 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.05035, allocations: 0 / 450.5 MB, free: 6.352 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001692/0.05052, allocations: 0 / 450.5 MB, free: 6.352 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01246/0.06298, allocations: 5.566 MB / 456.1 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.089e-05/0.06306, allocations: 12.03 kB / 456.1 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001793/0.06486, allocations: 0.7279 MB / 456.8 MB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004577/0.06943, allocations: 1.975 MB / 458.8 MB, free: 14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.07297, allocations: 2.517 MB / 461.3 MB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.0731, allocations: 242 kB / 461.6 MB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005909/0.07369, allocations: 319.8 kB / 461.9 MB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1818/0.2555, allocations: 10.83 MB / 472.7 MB, free: 92.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.2556, allocations: 38.2 kB / 472.7 MB, free: 92.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005442/0.2561, allocations: 155.5 kB / 472.9 MB, free: 92.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00187/0.258, allocations: 1.981 MB / 474.9 MB, free: 92.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0126/0.2706, allocations: 9.677 MB / 484.6 MB, free: 89.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03245/0.3031, allocations: 37.73 MB / 0.51 GB, free: 63.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008271/0.3113, allocations: 3.555 MB / 0.5135 GB, free: 62.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002031/0.3134, allocations: 1.749 MB / 0.5152 GB, free: 62.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004794/0.3138, allocations: 234.7 kB / 0.5155 GB, free: 62.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3139, allocations: 51.52 kB / 0.5155 GB, free: 62.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 4.609e-06/0.3139, allocations: 0 / 0.5155 GB, free: 62.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.02468/0.3386, allocations: 14.72 MB / 0.5299 GB, free: 53.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3386, allocations: 153.5 kB / 0.53 GB, free: 52.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/0.3425, allocations: 4.535 MB / 0.5344 GB, free: 48.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.3427, allocations: 45.7 kB / 0.5345 GB, free: 48.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009461/0.3437, allocations: 3.212 MB / 0.5376 GB, free: 45.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/0.3441, allocations: 0.6467 MB / 0.5383 GB, free: 44.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009482/0.3451, allocations: 1.187 MB / 0.5394 GB, free: 43.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.81e-05/0.3451, allocations: 301.1 kB / 0.5397 GB, free: 43.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.3468, allocations: 2.092 MB / 0.5418 GB, free: 40.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.3493, allocations: 5.796 MB / 0.5474 GB, free: 33.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004968/0.3542, allocations: 8.551 MB / 0.5558 GB, free: 22.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.795e-05/0.3543, allocations: 40 kB / 0.5558 GB, free: 22.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.007959/0.3623, allocations: 8.402 MB / 0.564 GB, free: 14.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.3623, allocations: 63.94 kB / 0.5641 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.614e-05/0.3624, allocations: 132 kB / 0.5642 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.3636, allocations: 0.916 MB / 0.5651 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/0.3658, allocations: 1.376 MB / 0.5664 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.3693, allocations: 5.051 MB / 0.5714 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/0.3723, allocations: 359.7 kB / 0.5717 GB, free: 6.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004464/0.3728, allocations: 379.9 kB / 0.5721 GB, free: 6.129 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (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 (718): * Single equations (assignments): 714 * 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.002247/0.375, allocations: 2.089 MB / 0.5741 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005319/0.3756, allocations: 369.5 kB / 0.5745 GB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/0.3787, allocations: 3.159 MB / 0.5775 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.3787, allocations: 16 kB / 0.5776 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3787, allocations: 4 kB / 0.5776 GB, free: 480 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3787, allocations: 15.91 kB / 0.5776 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009951/0.3887, allocations: 7.686 MB / 0.5851 GB, free: 8.727 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.3887, allocations: 4 kB / 0.5851 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.3897, allocations: 311.6 kB / 0.5854 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.3909, allocations: 0.7147 MB / 0.5861 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.391, allocations: 39.98 kB / 0.5861 GB, free: 7.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004142/0.3951, allocations: 4.656 MB / 0.5907 GB, free: 2.895 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3951, allocations: 4 kB / 0.5907 GB, free: 2.891 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006398/0.4015, allocations: 5.725 MB / 0.5963 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/0.4032, allocations: 0.6066 MB / 0.5969 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.4035, allocations: 36 kB / 0.5969 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008701/0.4044, allocations: 132.7 kB / 0.597 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.4046, allocations: 112.7 kB / 0.5971 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.878e-05/0.4047, allocations: 57.38 kB / 0.5972 GB, free: 12.19 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003243/0.4079, allocations: 2.726 MB / 0.5998 GB, free: 9.453 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4079, allocations: 0 / 0.5998 GB, free: 9.453 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003999/0.4119, allocations: 1.031 MB / 0.6008 GB, free: 8.422 MB / 474.7 MB 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 (126): * Single equations (assignments): 122 * 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.006129/0.4181, allocations: 6.387 MB / 0.6071 GB, free: 2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005808/0.4239, allocations: 4.828 MB / 0.6118 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4239, allocations: 0 / 0.6118 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.4253, allocations: 1.452 MB / 0.6132 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.4275, allocations: 445.2 kB / 0.6136 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2246/0.6521, allocations: 46.23 MB / 0.6588 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00252/0.6546, allocations: 2.7 MB / 0.6614 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003069/0.6577, allocations: 1.898 MB / 0.6633 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002331/0.66, allocations: 1.905 MB / 0.6651 GB, free: 156 MB / 0.5105 GB Notification: Performance of SimCode: time 2.394e-06/0.66, allocations: 0 / 0.6651 GB, free: 156 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08842/0.7484, allocations: 69.87 MB / 0.7334 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.708/10.46, allocations: 0 / 0.7334 GB, free: 110.7 MB / 0.5105 GB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 12.852303586900234]